C# Class DataDictionary.Interpreter.Visitor

Hand written visitor for expressions
Show file Open project: ERTMSSolutions/ERTMSFormalSpecs

Protected Methods

Method Description
VisitApplyStatement ( ApplyStatement applyStatement ) : void

Visits an APPLY statement

VisitBinaryExpression ( BinaryExpression binaryExpression ) : void

Visits a Binary expression

VisitCall ( Call call ) : void

Visits a Call expression

VisitConditionBasedListExpression ( ConditionBasedListExpression conditionBasedListExpression ) : void

Visits a condition based list expression

VisitCountExpression ( DataDictionary.Interpreter.ListOperators.CountExpression countExpression ) : void

Visits a COUNT expression

VisitDerefExpression ( DerefExpression derefExpression ) : void

Visits a Deref expression

VisitDesignator ( Designator designator ) : void

Visits a designator

VisitExpression ( Expression expression ) : void

Visits an expression

VisitExpressionBasedListExpression ( DataDictionary.Interpreter.ListOperators.ExpressionBasedListExpression expressionBasedListExpression ) : void

Visits an expression based list expression

VisitFilterExpression ( FilterExpression filterExpression ) : void

Visits a FILTER expression

VisitFirstExpression ( DataDictionary.Interpreter.ListOperators.FirstExpression firstExpression ) : void

Visits a FIRST expression

VisitForAllExpression ( DataDictionary.Interpreter.ListOperators.ForAllExpression forAllExpression ) : void

Visits a FOR ALL expression

VisitFunctionExpression ( FunctionExpression functionExpression ) : void

Visits a Function expression

VisitInsertStatement ( InsertStatement insertStatement ) : void

Visits an INSERT statement

VisitInterpreterTreeNode ( DataDictionary.Interpreter.InterpreterTreeNode interpreterTreeNode ) : void

Visits an interpreter tree node

VisitLastExpression ( DataDictionary.Interpreter.ListOperators.LastExpression lastExpression ) : void

Visits a LAST expression

VisitLetExpression ( LetExpression letExpression ) : void

Visits a let expression

VisitListExpression ( DataDictionary.Interpreter.ListExpression listExpression ) : void

Visits a List expression

VisitMapExpression ( DataDictionary.Interpreter.ListOperators.MapExpression mapExpression ) : void

Visits a MAP expression

VisitNumberExpression ( DataDictionary.Interpreter.NumberExpression numberExpression ) : void

Visits a Number expression

VisitProcedureCallStatement ( DataDictionary.Interpreter.Statement.ProcedureCallStatement procedureCallStatement ) : void

Visits a Procedure call statement

VisitReduceExpression ( DataDictionary.Interpreter.ListOperators.ReduceExpression reduceExpression ) : void

Visits a REDUCE expression

VisitRemoveStatement ( RemoveStatement removeStatement ) : void

Visits a REMOVE statement

VisitReplaceStatement ( DataDictionary.Interpreter.Statement.ReplaceStatement replaceStatement ) : void

Visits a REPLACE statement

VisitStabilizeExpression ( DataDictionary.Interpreter.StabilizeExpression stabilizeExpression ) : void

Visits a STABILIZE expression

VisitStatement ( DataDictionary.Interpreter.Statement.Statement statement ) : void

Visits a statement

VisitStringExpression ( DataDictionary.Interpreter.StringExpression stringExpression ) : void

Visits a String expression

VisitStructExpression ( StructExpression structExpression ) : void

Visits a struct expression

VisitSumExpression ( SumExpression sumExpression ) : void

Visits a SUM expression

VisitTerm ( Term term ) : void

Visits a term

VisitThereIsExpression ( ThereIsExpression thereIsExpression ) : void

Visits a THERE IS expression

VisitUnaryExpression ( DataDictionary.Interpreter.UnaryExpression unaryExpression ) : void

Visits a unary expression

VisitVariableUpdateStatement ( VariableUpdateStatement variableUpdateStatement ) : void

Visits a Variable update statement

Method Details

VisitApplyStatement() protected method

Visits an APPLY statement
protected VisitApplyStatement ( ApplyStatement applyStatement ) : void
applyStatement DataDictionary.Interpreter.Statement.ApplyStatement
return void

VisitBinaryExpression() protected method

Visits a Binary expression
protected VisitBinaryExpression ( BinaryExpression binaryExpression ) : void
binaryExpression BinaryExpression
return void

VisitCall() protected method

Visits a Call expression
protected VisitCall ( Call call ) : void
call Call
return void

VisitConditionBasedListExpression() protected method

Visits a condition based list expression
protected VisitConditionBasedListExpression ( ConditionBasedListExpression conditionBasedListExpression ) : void
conditionBasedListExpression DataDictionary.Interpreter.ListOperators.ConditionBasedListExpression
return void

VisitCountExpression() protected method

Visits a COUNT expression
protected VisitCountExpression ( DataDictionary.Interpreter.ListOperators.CountExpression countExpression ) : void
countExpression DataDictionary.Interpreter.ListOperators.CountExpression
return void

VisitDerefExpression() protected method

Visits a Deref expression
protected VisitDerefExpression ( DerefExpression derefExpression ) : void
derefExpression DerefExpression
return void

VisitDesignator() protected method

Visits a designator
protected VisitDesignator ( Designator designator ) : void
designator Designator
return void

VisitExpression() protected method

Visits an expression
protected VisitExpression ( Expression expression ) : void
expression Expression
return void

VisitExpressionBasedListExpression() protected method

Visits an expression based list expression
protected VisitExpressionBasedListExpression ( DataDictionary.Interpreter.ListOperators.ExpressionBasedListExpression expressionBasedListExpression ) : void
expressionBasedListExpression DataDictionary.Interpreter.ListOperators.ExpressionBasedListExpression
return void

VisitFilterExpression() protected method

Visits a FILTER expression
protected VisitFilterExpression ( FilterExpression filterExpression ) : void
filterExpression FilterExpression
return void

VisitFirstExpression() protected method

Visits a FIRST expression
protected VisitFirstExpression ( DataDictionary.Interpreter.ListOperators.FirstExpression firstExpression ) : void
firstExpression DataDictionary.Interpreter.ListOperators.FirstExpression
return void

VisitForAllExpression() protected method

Visits a FOR ALL expression
protected VisitForAllExpression ( DataDictionary.Interpreter.ListOperators.ForAllExpression forAllExpression ) : void
forAllExpression DataDictionary.Interpreter.ListOperators.ForAllExpression
return void

VisitFunctionExpression() protected method

Visits a Function expression
protected VisitFunctionExpression ( FunctionExpression functionExpression ) : void
functionExpression FunctionExpression
return void

VisitInsertStatement() protected method

Visits an INSERT statement
protected VisitInsertStatement ( InsertStatement insertStatement ) : void
insertStatement DataDictionary.Interpreter.Statement.InsertStatement
return void

VisitInterpreterTreeNode() protected method

Visits an interpreter tree node
protected VisitInterpreterTreeNode ( DataDictionary.Interpreter.InterpreterTreeNode interpreterTreeNode ) : void
interpreterTreeNode DataDictionary.Interpreter.InterpreterTreeNode
return void

VisitLastExpression() protected method

Visits a LAST expression
protected VisitLastExpression ( DataDictionary.Interpreter.ListOperators.LastExpression lastExpression ) : void
lastExpression DataDictionary.Interpreter.ListOperators.LastExpression
return void

VisitLetExpression() protected method

Visits a let expression
protected VisitLetExpression ( LetExpression letExpression ) : void
letExpression LetExpression
return void

VisitListExpression() protected method

Visits a List expression
protected VisitListExpression ( DataDictionary.Interpreter.ListExpression listExpression ) : void
listExpression DataDictionary.Interpreter.ListExpression
return void

VisitMapExpression() protected method

Visits a MAP expression
protected VisitMapExpression ( DataDictionary.Interpreter.ListOperators.MapExpression mapExpression ) : void
mapExpression DataDictionary.Interpreter.ListOperators.MapExpression
return void

VisitNumberExpression() protected method

Visits a Number expression
protected VisitNumberExpression ( DataDictionary.Interpreter.NumberExpression numberExpression ) : void
numberExpression DataDictionary.Interpreter.NumberExpression
return void

VisitProcedureCallStatement() protected method

Visits a Procedure call statement
protected VisitProcedureCallStatement ( DataDictionary.Interpreter.Statement.ProcedureCallStatement procedureCallStatement ) : void
procedureCallStatement DataDictionary.Interpreter.Statement.ProcedureCallStatement
return void

VisitReduceExpression() protected method

Visits a REDUCE expression
protected VisitReduceExpression ( DataDictionary.Interpreter.ListOperators.ReduceExpression reduceExpression ) : void
reduceExpression DataDictionary.Interpreter.ListOperators.ReduceExpression
return void

VisitRemoveStatement() protected method

Visits a REMOVE statement
protected VisitRemoveStatement ( RemoveStatement removeStatement ) : void
removeStatement DataDictionary.Interpreter.Statement.RemoveStatement
return void

VisitReplaceStatement() protected method

Visits a REPLACE statement
protected VisitReplaceStatement ( DataDictionary.Interpreter.Statement.ReplaceStatement replaceStatement ) : void
replaceStatement DataDictionary.Interpreter.Statement.ReplaceStatement
return void

VisitStabilizeExpression() protected method

Visits a STABILIZE expression
protected VisitStabilizeExpression ( DataDictionary.Interpreter.StabilizeExpression stabilizeExpression ) : void
stabilizeExpression DataDictionary.Interpreter.StabilizeExpression
return void

VisitStatement() protected method

Visits a statement
protected VisitStatement ( DataDictionary.Interpreter.Statement.Statement statement ) : void
statement DataDictionary.Interpreter.Statement.Statement
return void

VisitStringExpression() protected method

Visits a String expression
protected VisitStringExpression ( DataDictionary.Interpreter.StringExpression stringExpression ) : void
stringExpression DataDictionary.Interpreter.StringExpression
return void

VisitStructExpression() protected method

Visits a struct expression
protected VisitStructExpression ( StructExpression structExpression ) : void
structExpression StructExpression
return void

VisitSumExpression() protected method

Visits a SUM expression
protected VisitSumExpression ( SumExpression sumExpression ) : void
sumExpression DataDictionary.Interpreter.ListOperators.SumExpression
return void

VisitTerm() protected method

Visits a term
protected VisitTerm ( Term term ) : void
term Term
return void

VisitThereIsExpression() protected method

Visits a THERE IS expression
protected VisitThereIsExpression ( ThereIsExpression thereIsExpression ) : void
thereIsExpression DataDictionary.Interpreter.ListOperators.ThereIsExpression
return void

VisitUnaryExpression() protected method

Visits a unary expression
protected VisitUnaryExpression ( DataDictionary.Interpreter.UnaryExpression unaryExpression ) : void
unaryExpression DataDictionary.Interpreter.UnaryExpression
return void

VisitVariableUpdateStatement() protected method

Visits a Variable update statement
protected VisitVariableUpdateStatement ( VariableUpdateStatement variableUpdateStatement ) : void
variableUpdateStatement DataDictionary.Interpreter.Statement.VariableUpdateStatement
return void