예제 #1
0
 public QueryParser Or(QueryParser otherParser)
 {
     return(new DisjoinedTokenParser(@operator, next_parser, otherParser));
 }
예제 #2
0
 public DisjoinedTokenParser(string @operator, QueryParser nextParser, QueryParser alternativeParser)
     : base(@operator, nextParser)
 {
     alternative_parser = alternativeParser;
 }
예제 #3
0
 public OperatorParser(string @operator, QueryParser nextParser)
 {
     this.@operator   = @operator;
     this.next_parser = nextParser;
 }