public static class CharacterParser.State extends Object
| Constructor and Description |
|---|
State()
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCurlyDepth()
|
String |
getHistory()
|
Character |
getLastChar()
|
int |
getRoundDepth()
|
int |
getSquareDepth()
|
String |
getSrc()
|
boolean |
isBlockComment()
|
boolean |
isComment()
|
boolean |
isDoubleQuote()
|
boolean |
isEscaped()
|
boolean |
isLineComment()
|
boolean |
isNesting()
|
boolean |
isRegexp()
|
boolean |
isRegexpStart()
|
boolean |
isSingleQuote()
|
boolean |
isString()
|
void |
setBlockComment(boolean blockComment)
|
void |
setCurlyDepth(int curlyDepth)
|
void |
setDoubleQuote(boolean doubleQuote)
|
void |
setEscaped(boolean escaped)
|
void |
setHistory(String
|
void |
setLastChar(Character
|
void |
setLineComment(boolean lineComment)
|
void |
setRegexp(boolean regexp)
|
void |
setRegexpStart(boolean regexpStart)
|
void |
setRoundDepth(int roundDepth)
|
void |
setSingleQuote(boolean singleQuote)
|
void |
setSquareDepth(int squareDepth)
|
void |
setSrc(String
|
public boolean isString()
public boolean isComment()
public boolean isNesting()
public StringgetSrc()
public boolean isLineComment()
public void setLineComment(boolean lineComment)
public boolean isBlockComment()
public void setBlockComment(boolean blockComment)
public boolean isSingleQuote()
public void setSingleQuote(boolean singleQuote)
public boolean isDoubleQuote()
public void setDoubleQuote(boolean doubleQuote)
public boolean isRegexp()
public void setRegexp(boolean regexp)
public boolean isRegexpStart()
public void setRegexpStart(boolean regexpStart)
public boolean isEscaped()
public void setEscaped(boolean escaped)
public int getRoundDepth()
public void setRoundDepth(int roundDepth)
public int getCurlyDepth()
public void setCurlyDepth(int curlyDepth)
public int getSquareDepth()
public void setSquareDepth(int squareDepth)
public StringgetHistory()
public void setHistory(Stringhistory)
public CharactergetLastChar()
public void setLastChar(CharacterlastChar)
public void setSrc(Stringsrc)