示例#1
0
		public virtual void resetState(InputBuffer ib)
		{
			text.Length = 0;
			traceDepth = 0;
			inputState.resetInput(ib);
			refresh();
		}
示例#2
0
		public CharScanner(InputBuffer cb) : this()
		{
			inputState = new LexerSharedInputState(cb);
			cached_LA2 = inputState.input.LA(2);
			cached_LA1 = inputState.input.LA(1);
		}
示例#3
0
		public virtual void resetInput(Stream s)
		{
			reset();
			input = new ByteBuffer(s);
		}
示例#4
0
		public virtual void resetInput(TextReader tr)
		{
			reset();
			input = new CharBuffer(tr);
		}
 public CharScanner(InputBuffer cb)
     : this()
 {
     inputState = new LexerSharedInputState(cb);
 }
示例#6
0
 public CharScanner(InputBuffer cb) : this()
 {
     inputState = new LexerSharedInputState(cb);
     cached_LA2 = inputState.input.LA(2);
     cached_LA1 = inputState.input.LA(1);
 }
示例#7
0
 public virtual void resetState(InputBuffer ib)
 {
     text.Length = 0;
     traceDepth  = 0;
     inputState.resetInput(ib);
 }
示例#8
0
		public CalcLexer(InputBuffer ib)		 : this(new LexerSharedInputState(ib))
		{
		}
示例#9
0
 public virtual void resetInput(Stream s)
 {
     reset();
     input = new ByteBuffer(s);
 }
示例#10
0
 public virtual void resetInput(TextReader tr)
 {
     reset();
     input = new CharBuffer(tr);
 }
示例#11
0
 public virtual void resetInput(InputBuffer ib)
 {
     reset();
     input = ib;
 }
示例#12
0
 public LexerSharedInputState(InputBuffer inbuf)
 {
     initialize();
     input = inbuf;
 }
示例#13
0
 public fpc2ilLexer(InputBuffer ib)               : this(new LexerSharedInputState(ib))
 {
 }
示例#14
0
 public LexerSharedInputState(InputBuffer inbuf)
 {
     input = inbuf;
 }
示例#15
0
 public CharScanner(InputBuffer cb) : this()
 {
     inputState = new LexerSharedInputState(cb);
 }
 public LexerSharedInputState(InputBuffer inbuf)
 {
     input = inbuf;
 }
示例#17
0
		public LexerSharedInputState(InputBuffer inbuf)
		{
			initialize();
			input = inbuf;
		}
示例#18
0
 public AspectLanguageLexer(InputBuffer ib)               : this(new LexerSharedInputState(ib))
 {
 }
示例#19
0
		public virtual void resetInput(InputBuffer ib)
		{
			reset();
			input = ib;
		}
 public L(InputBuffer ib)
     : this(new LexerSharedInputState(ib))
 {
 }
示例#21
0
		public DebuggingCharScanner(InputBuffer cb) : base(cb)
		{
			InitBlock();
		}