예제 #1
0
 public ArithmeticOperation(ArithmeticExpression left, SyntaxProperty <ArithmeticOperator> op, ArithmeticExpression right = null)
     : base(ExpressionNodeType.ArithmeticOperation)
 {
     LeftOperand  = left;
     Operator     = op;
     RightOperand = right;
 }
예제 #2
0
 public LogicalOperation(ConditionalExpression leftOperand, SyntaxProperty <LogicalOperator> logicalOperator, ConditionalExpression rightOperand) :
     base(ExpressionNodeType.LogicalOperation)
 {
     LeftOperand  = leftOperand;
     Operator     = logicalOperator;
     RightOperand = rightOperand;
 }
예제 #3
0
 public SignCondition(ConditionOperand operand, SyntaxProperty <SignComparison> signComparison, SyntaxProperty <bool> invertResult) :
     base(ExpressionNodeType.SignCondition)
 {
     Operand        = operand;
     SignComparison = signComparison;
     InvertResult   = invertResult;
 }
예제 #4
0
 public RelationCondition(ConditionOperand leftOperand, SyntaxProperty <RelationalOperator> relationalOperator, ConditionOperand rightOperand) :
     base(ExpressionNodeType.RelationCondition)
 {
     LeftOperand  = leftOperand;
     Operator     = relationalOperator;
     RightOperand = rightOperand;
 }
예제 #5
0
 public ClassCondition(StorageArea dataItem, SyntaxProperty <DataItemContentType> dataItemContentType, SyntaxProperty <bool> invertResult) :
     base(ExpressionNodeType.ClassCondition)
 {
     DataItem            = dataItem;
     DataItemContentType = dataItemContentType;
     InvertResult        = invertResult;
 }
예제 #6
0
 public ClassCondition(StorageArea dataItem, SymbolReference characterClassNameReference, SyntaxProperty <bool> invertResult) :
     base(ExpressionNodeType.ClassCondition)
 {
     DataItem = dataItem;
     CharacterClassNameReference = characterClassNameReference;
     InvertResult = invertResult;
 }
예제 #7
0
 public SubscriptExpression(Token allToken)
 {
     ALL = new SyntaxProperty <bool>(true, allToken);
 }
예제 #8
0
 public virtual bool Visit <T>(SyntaxProperty <T> syntaxProperty)
 {
     return(true);
 }