Package de.neuland.pug4j.util
Class CharacterParser.State
- java.lang.Object
-
- de.neuland.pug4j.util.CharacterParser.State
-
- Enclosing class:
- CharacterParser
public static class CharacterParser.State extends Object
-
-
Constructor Summary
Constructors Constructor Description State()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCurlyDepth()StringgetHistory()CharactergetLastChar()intgetRoundDepth()intgetSquareDepth()StringgetSrc()booleanisBlockComment()booleanisComment()booleanisDoubleQuote()booleanisEscaped()booleanisLineComment()booleanisNesting()booleanisNesting(Options options)booleanisRegexp()booleanisRegexpStart()booleanisSingleQuote()booleanisString()booleanisTemplateQuote()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)voidsetSrc(String src)voidsetTemplateQuote(boolean templateQuote)
-
-
-
Method Detail
-
isString
public boolean isString()
-
isComment
public boolean isComment()
-
isNesting
public boolean isNesting(Options options)
-
isNesting
public boolean isNesting()
-
getSrc
public 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)
-
isTemplateQuote
public boolean isTemplateQuote()
-
setTemplateQuote
public void setTemplateQuote(boolean templateQuote)
-
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 String getHistory()
-
setHistory
public void setHistory(String history)
-
getLastChar
public Character getLastChar()
-
setLastChar
public void setLastChar(Character lastChar)
-
setSrc
public void setSrc(String src)
-
-