Example #1
0
 public RelationalOperator(string encoded)
 {
     allowSymbols = true;
     operatorType = OperatorType.Relational;
     var split = encoded.Split(':');
     var enumNumber = int.Parse(split[0]);
     opType = (RelationalOperatorType)enumNumber;
     identifier = split[1];
     base.type = TokenType.RelationalOperator;
 }
Example #2
0
 public RelationalOp(RelationalOperatorType relationalOperatorType) : base(TokenType.Arithmetic_Op)
 {
     this.RelationalOperatorType = relationalOperatorType;
 }