示例#1
0
 protected AbstractLexer(TextReader reader, LexerMemento state)
     : this(reader)
 {
     SetInitialLocation(new Location(state.Column, state.Line));
     lastToken = new Token(state.PrevTokenKind, 0, 0);
 }
 public SavepointEventArgs(Location savepointLocation, LexerMemento state)
 {
     this.SavepointLocation = savepointLocation;
     this.State             = state;
 }