Class CharacterParser.State

  • Enclosing class:
    CharacterParser

    public static class CharacterParser.State
    extends java.lang.Object
    • 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
    • Constructor Detail

      • State

        public State()
    • 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)