Scan() public method

public Scan ( ) : IEnumerable
return IEnumerable
示例#1
0
 public Parser(Scanner s)
 {
     this.s = s;
     initTokens(s.Scan());
 }
示例#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();
 }