コード例 #1
0
 public Token(MatchRegex match, TokenLocation location)
 {
     this.tokenType = match.tokenType;
     this.value     = match.value;
     this.location  = location;
 }
コード例 #2
0
 public Token(MatchRegex match)
 {
     this.tokenType = match.tokenType;
     this.value     = match.value;
 }