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 boolean
blockComment
private int
curlyDepth
private boolean
doubleQuote
private boolean
escaped
private java.lang.String
history
private java.lang.Character
lastChar
private boolean
lineComment
private boolean
regexp
private boolean
regexpStart
private int
roundDepth
private boolean
singleQuote
private int
squareDepth
private java.lang.String
src
-
Constructor Summary
Constructors Constructor Description State()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCurlyDepth()
java.lang.String
getHistory()
java.lang.Character
getLastChar()
int
getRoundDepth()
int
getSquareDepth()
java.lang.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(java.lang.String history)
void
setLastChar(java.lang.Character lastChar)
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(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)
-
-