Пример #1
0
        public LLkParser(TokenStream lexer, int k_)
        {
            k = k_;
            var tokenBuf = new TokenBuffer(lexer);

            setTokenBuffer(tokenBuf);
        }
Пример #2
0
 protected ExpressionParser(TokenBuffer tokenBuf, int k)
     : base(tokenBuf, k)
 {
     initialize();
 }
Пример #3
0
 public LLkParser(TokenBuffer tokenBuf, int k_)
 {
     k = k_;
     setTokenBuffer(tokenBuf);
 }
Пример #4
0
 public LLkParser(TokenStream lexer, int k_)
 {
     k = k_;
     var tokenBuf = new TokenBuffer(lexer);
     setTokenBuffer(tokenBuf);
 }
Пример #5
0
 public ExpressionParser(TokenBuffer tokenBuf)
     : this(tokenBuf,2)
 {
 }
Пример #6
0
 public LLkParser(TokenBuffer tokenBuf, int k_)
 {
     k = k_;
     setTokenBuffer(tokenBuf);
 }
Пример #7
0
 protected internal virtual void defaultDebuggingSetup(TokenStream lexer, TokenBuffer tokBuf)
 {
     // by default, do nothing -- we're not debugging
 }
Пример #8
0
 /*Set or change the input token buffer */
 public virtual void setTokenBuffer(TokenBuffer t)
 {
     inputState.input = t;
 }
Пример #9
0
 /*Set or change the input token buffer */
 public virtual void  setTokenBuffer(TokenBuffer t)
 {
     inputState.input = t;
 }
Пример #10
0
 protected internal virtual void  defaultDebuggingSetup(TokenStream lexer, TokenBuffer tokBuf)
 {
     // by default, do nothing -- we're not debugging
 }