Package de.neuland.jade4j.util
Class CharacterParser.State
- java.lang.Object
-
- de.neuland.jade4j.util.CharacterParser.State
-
- Enclosing class:
- CharacterParser
public static class CharacterParser.State extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private booleanblockCommentprivate intcurlyDepthprivate booleandoubleQuoteprivate booleanescapedprivate java.lang.Stringhistoryprivate java.lang.CharacterlastCharprivate booleanlineCommentprivate booleanregexpprivate booleanregexpStartprivate introundDepthprivate booleansingleQuoteprivate intsquareDepthprivate java.lang.Stringsrc
-
Constructor Summary
Constructors Constructor Description State()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCurlyDepth()java.lang.StringgetHistory()java.lang.CharactergetLastChar()intgetRoundDepth()intgetSquareDepth()java.lang.StringgetSrc()booleanisBlockComment()booleanisComment()booleanisDoubleQuote()booleanisEscaped()booleanisLineComment()booleanisNesting()booleanisRegexp()booleanisRegexpStart()booleanisSingleQuote()booleanisString()voidsetBlockComment(boolean blockComment)voidsetCurlyDepth(int curlyDepth)voidsetDoubleQuote(boolean doubleQuote)voidsetEscaped(boolean escaped)voidsetHistory(java.lang.String history)voidsetLastChar(java.lang.Character lastChar)voidsetLineComment(boolean lineComment)voidsetRegexp(boolean regexp)voidsetRegexpStart(boolean regexpStart)voidsetRoundDepth(int roundDepth)voidsetSingleQuote(boolean singleQuote)voidsetSquareDepth(int squareDepth)voidsetSrc(java.lang.String src)
-
-
-
Field Detail
-
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
private java.lang.String history
-
lastChar
private java.lang.Character lastChar
-
src
private java.lang.String src
-
-
Method Detail
-
isString
public boolean isString()
-
isComment
public boolean isComment()
-
isNesting
public boolean isNesting()
-
getSrc
public java.lang.String 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
public java.lang.String getHistory()
-
setHistory
public void setHistory(java.lang.String history)
-
getLastChar
public java.lang.Character getLastChar()
-
setLastChar
public void setLastChar(java.lang.Character lastChar)
-
setSrc
public void setSrc(java.lang.String src)
-
-