Class ParserContext
- java.lang.Object
-
- migratedb.v1.core.internal.parser.ParserContext
-
public class ParserContext extends Object
-
-
Constructor Summary
Constructors Constructor Description ParserContext(Delimiter delimiter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecreaseBlockDepth()voiddecreaseParensDepth()intgetBlockDepth()StringgetBlockInitiator()DelimitergetDelimiter()StringgetLastClosedBlockInitiator()intgetParensDepth()StatementTypegetStatementType()voidincreaseBlockDepth(String blockInitiator)voidincreaseParensDepth()booleanisLetter(char c)voidsetDelimiter(Delimiter delimiter)voidsetStatementType(StatementType statementType)
-
-
-
Constructor Detail
-
ParserContext
public ParserContext(Delimiter delimiter)
-
-
Method Detail
-
increaseParensDepth
public void increaseParensDepth()
-
decreaseParensDepth
public void decreaseParensDepth()
-
getParensDepth
public int getParensDepth()
-
getLastClosedBlockInitiator
public String getLastClosedBlockInitiator()
-
increaseBlockDepth
public void increaseBlockDepth(String blockInitiator)
-
decreaseBlockDepth
public void decreaseBlockDepth()
-
getBlockDepth
public int getBlockDepth()
-
getBlockInitiator
public String getBlockInitiator()
-
getDelimiter
public Delimiter getDelimiter()
-
setDelimiter
public void setDelimiter(Delimiter delimiter)
-
getStatementType
public StatementType getStatementType()
-
setStatementType
public void setStatementType(StatementType statementType)
-
isLetter
public boolean isLetter(char c)
-
-