Ejemplo n.º 1
0
 public Token(StandardTokenType type) : this((int)type)
 {
 }
Ejemplo n.º 2
0
 public bool Equals(StandardTokenType other)
 {
     return(Value == (int)other);
 }
Ejemplo n.º 3
0
 public TokenDefinition(string regex, StandardTokenType token)
 {
     //this.Matcher = new RegexMatcher(regex);
     this.regex = new Regex(string.Format("^{0}", regex));
     this.Token = token;
 }