Package de.neuland.jade4j.util
Class CharacterParser.State
java.lang.Object
de.neuland.jade4j.util.CharacterParser.State
- Enclosing class:
CharacterParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintgetSrc()booleanbooleanbooleanbooleanbooleanbooleanbooleanisRegexp()booleanbooleanbooleanisString()voidsetBlockComment(boolean blockComment) voidsetCurlyDepth(int curlyDepth) voidsetDoubleQuote(boolean doubleQuote) voidsetEscaped(boolean escaped) voidsetHistory(String history) voidsetLastChar(Character lastChar) voidsetLineComment(boolean lineComment) voidsetRegexp(boolean regexp) voidsetRegexpStart(boolean regexpStart) voidsetRoundDepth(int roundDepth) voidsetSingleQuote(boolean singleQuote) voidsetSquareDepth(int squareDepth) void
-
Field Details
-
lineComment
private boolean lineComment -
blockComment
private boolean blockComment -
singleQuote
private boolean singleQuote -
doubleQuote
private boolean doubleQuote -
regexp
private boolean regexp -
regexpStart
private boolean regexpStart -
escaped
private boolean escaped -
roundDepth
private int roundDepth -
curlyDepth
private int curlyDepth -
squareDepth
private int squareDepth -
history
-
lastChar
-
src
-
-
Constructor Details
-
State
public State()
-
-
Method Details
-
isString
public boolean isString() -
isComment
public boolean isComment() -
isNesting
public boolean isNesting() -
getSrc
-
isLineComment
public boolean isLineComment() -
setLineComment
public void setLineComment(boolean lineComment) -
isBlockComment
public boolean isBlockComment() -
setBlockComment
public void setBlockComment(boolean blockComment) -
isSingleQuote
public boolean isSingleQuote() -
setSingleQuote
public void setSingleQuote(boolean singleQuote) -
isDoubleQuote
public boolean isDoubleQuote() -
setDoubleQuote
public void setDoubleQuote(boolean doubleQuote) -
isRegexp
public boolean isRegexp() -
setRegexp
public void setRegexp(boolean regexp) -
isRegexpStart
public boolean isRegexpStart() -
setRegexpStart
public void setRegexpStart(boolean regexpStart) -
isEscaped
public boolean isEscaped() -
setEscaped
public void setEscaped(boolean escaped) -
getRoundDepth
public int getRoundDepth() -
setRoundDepth
public void setRoundDepth(int roundDepth) -
getCurlyDepth
public int getCurlyDepth() -
setCurlyDepth
public void setCurlyDepth(int curlyDepth) -
getSquareDepth
public int getSquareDepth() -
setSquareDepth
public void setSquareDepth(int squareDepth) -
getHistory
-
setHistory
-
getLastChar
-
setLastChar
-
setSrc
-