Scan() public method

public Scan ( ) : IEnumerable
return IEnumerable
Ejemplo n.º 1
0
 public Parser(Scanner s)
 {
     this.s = s;
     initTokens(s.Scan());
 }
Ejemplo n.º 2
0
 public Parser(Scanner s)
 {
     this.s = s;
     // Skip whitespace and comments
     tokens = s.Scan().Where(token => token.Type != TokenType.Space && token.Type != TokenType.Comment).GetEnumerator();
 }