Class SyntaxToSemanticAST
Syntax AST visitor to convert to an internal AST.
Inherited Members
Namespace: TimeCockpit.Data.QueryLanguage
Assembly: TimeCockpit.Data.dll
Syntax
public class SyntaxToSemanticAST : Visitor
Constructors
SyntaxToSemanticAST()
Declaration
public SyntaxToSemanticAST()
Methods
VisitAggregationFunctionCall(AggregationFunctionCall)
Visits an AggregationFunctionCall.
Declaration
public override Expression VisitAggregationFunctionCall(AggregationFunctionCall aggregateFunctionCall)
Parameters
Type | Name | Description |
---|---|---|
AggregationFunctionCall | aggregateFunctionCall | the AggregationFunctionCall to visit. |
Returns
Type | Description |
---|---|
Expression | Returns the (possibly modified) node. |
Overrides
VisitBackReferenceSource(BackReferenceSource)
Visits a BackReferenceSource.
Declaration
public override QuerySource VisitBackReferenceSource(BackReferenceSource backReferenceSource)
Parameters
Type | Name | Description |
---|---|---|
BackReferenceSource | backReferenceSource | The BackReferenceSource to visit. |
Returns
Type | Description |
---|---|
QuerySource | Rturns the (possibly modified) node. |
Overrides
VisitBinaryExpression(BinaryExpression)
Visits a BinaryExpression.
Declaration
public override Expression VisitBinaryExpression(BinaryExpression binaryExpression)
Parameters
Type | Name | Description |
---|---|---|
BinaryExpression | binaryExpression | the BinaryExpression to visit. |
Returns
Type | Description |
---|---|
Expression | Returns the (possibly modified) node. |
Overrides
VisitBooleanConstant(BooleanConstant)
Visits a BooleanConstant.
Declaration
public override Expression VisitBooleanConstant(BooleanConstant booleanConstant)
Parameters
Type | Name | Description |
---|---|---|
BooleanConstant | booleanConstant | the BooleanConstant to visit. |
Returns
Type | Description |
---|---|
Expression | Returns the (possibly modified) node. |
Overrides
VisitDateConstant(DateConstant)
Visits a DateConstant.
Declaration
public override Expression VisitDateConstant(DateConstant dateConstant)
Parameters
Type | Name | Description |
---|---|---|
DateConstant | dateConstant | the DateConstant to visit. |
Returns
Type | Description |
---|---|
Expression | Returns the (possibly modified) node. |
Overrides
VisitDateTimeConstant(DateTimeConstant)
Visits a DateTimeConstant.
Declaration
public override Expression VisitDateTimeConstant(DateTimeConstant dateTimeConstant)
Parameters
Type | Name | Description |
---|---|---|
DateTimeConstant | dateTimeConstant | the DateTimeConstant to visit. |
Returns
Type | Description |
---|---|
Expression | Returns the (possibly modified) node. |
Overrides
VisitDeadOfSource(DeadOfSource)
Visits a DeadOfSource.
Declaration
public override QuerySource VisitDeadOfSource(DeadOfSource deadOfSource)
Parameters
Type | Name | Description |
---|---|---|
DeadOfSource | deadOfSource | The dead of source to visit. |
Returns
Type | Description |
---|---|
QuerySource | Returns the (possibly modified) node. |
Overrides
VisitDecimalConstant(DecimalConstant)
Visits a DecimalConstant.
Declaration
public override Expression VisitDecimalConstant(DecimalConstant decimalConstant)
Parameters
Type | Name | Description |
---|---|---|
DecimalConstant | decimalConstant | the DecimalConstant to visit. |
Returns
Type | Description |
---|---|
Expression | Returns the (possibly modified) node. |
Overrides
VisitEntitySource(EntitySource)
Visits a QueryTableSource.
Declaration
public override QuerySource VisitEntitySource(EntitySource queryTableSource)
Parameters
Type | Name | Description |
---|---|---|
EntitySource | queryTableSource | the QueryTableSource to visit. |
Returns
Type | Description |
---|---|
QuerySource | Returns the (possibly modified) node. |
Overrides
VisitEntitySourceIncludeConditional(EntitySourceIncludeConditional)
Visits a QueryTableSourceIncludeConditional.
Declaration
public override EntitySourceInclude VisitEntitySourceIncludeConditional(EntitySourceIncludeConditional includeConditional)
Parameters
Type | Name | Description |
---|---|---|
EntitySourceIncludeConditional | includeConditional | the QueryTableSourceIncludeConditional to visit. |
Returns
Type | Description |
---|---|
EntitySourceInclude | Returns the (possibly modified) node. |
Overrides
VisitEntitySourceIncludeRelation(EntitySourceIncludeRelation)
Visits a QueryTableSourceIncludeRelation.
Declaration
public override EntitySourceInclude VisitEntitySourceIncludeRelation(EntitySourceIncludeRelation includeRelation)
Parameters
Type | Name | Description |
---|---|---|
EntitySourceIncludeRelation | includeRelation | the QueryTableSourceIncludeRelation to visit. |
Returns
Type | Description |
---|---|
EntitySourceInclude | Returns the (possibly modified) node. |
Overrides
VisitExplicitSet(ExplicitSet)
Visits a ExplicitSet.
Declaration
public override Set VisitExplicitSet(ExplicitSet explicitSet)
Parameters
Type | Name | Description |
---|---|---|
ExplicitSet | explicitSet | the ExplicitSet to visit. |
Returns
Type | Description |
---|---|
Set | Returns the (possibly modified) node. |
Overrides
VisitFunctionCall(FunctionCall)
Visits a FunctionCall.
Declaration
public override Expression VisitFunctionCall(FunctionCall functionCall)
Parameters
Type | Name | Description |
---|---|---|
FunctionCall | functionCall | the FunctionCall to visit. |
Returns
Type | Description |
---|---|
Expression | Returns the (possibly modified) node. |
Overrides
VisitGuidConstant(GuidConstant)
Visits a GuidConstant.
Declaration
public override Expression VisitGuidConstant(GuidConstant guidConstant)
Parameters
Type | Name | Description |
---|---|---|
GuidConstant | guidConstant | the GuidConstant to visit. |
Returns
Type | Description |
---|---|
Expression | Returns the (possibly modified) node. |
Overrides
VisitHasChangedFunction(HasChangedFunction)
Visits a HasChangedFunction.
Declaration
public override Expression VisitHasChangedFunction(HasChangedFunction hasChangedFunction)
Parameters
Type | Name | Description |
---|---|---|
HasChangedFunction | hasChangedFunction | The HasChangedFunction to visit. |
Returns
Type | Description |
---|---|
Expression | Returns the possibly modified expression. |
Overrides
VisitMemberAccess(MemberAccess)
Visits a MemberAccess.
Declaration
public override Expression VisitMemberAccess(MemberAccess memberAccess)
Parameters
Type | Name | Description |
---|---|---|
MemberAccess | memberAccess | the MemberAccess to visit. |
Returns
Type | Description |
---|---|
Expression | Returns the (possibly modified) node. |
Overrides
VisitMemberDeclarationForwarded(MemberDeclarationForwarded)
Visits an instance of MemberDeclarationForwarded.
Declaration
public override MemberDeclaration VisitMemberDeclarationForwarded(MemberDeclarationForwarded forwarded)
Parameters
Type | Name | Description |
---|---|---|
MemberDeclarationForwarded | forwarded | The MemberDeclarationForwarded instance. |
Returns
Type | Description |
---|---|
MemberDeclaration | Returns the (possibly modified) node. |
Overrides
VisitMemberDeclarationNamedExpression(MemberDeclarationNamedExpression)
Visits an instace of MemberDeclarationNamedExpression
Declaration
public override MemberDeclaration VisitMemberDeclarationNamedExpression(MemberDeclarationNamedExpression namedExpression)
Parameters
Type | Name | Description |
---|---|---|
MemberDeclarationNamedExpression | namedExpression | The MemberDeclarationNamedExpression to visit. |
Returns
Type | Description |
---|---|
MemberDeclaration | Returns the (possibly modified) node. |
Overrides
VisitMemberDeclaratorNamedIdentifier(MemberDeclarationNamedIdentifier)
Visits an instance of MemberDeclarationNamedIdentifier.
Declaration
public override MemberDeclaration VisitMemberDeclaratorNamedIdentifier(MemberDeclarationNamedIdentifier namedIdentifier)
Parameters
Type | Name | Description |
---|---|---|
MemberDeclarationNamedIdentifier | namedIdentifier | The MemberDeclarationNamedIdentifier to dispatch to. |
Returns
Type | Description |
---|---|
MemberDeclaration | Returns the (possibly modified) node. |
Overrides
VisitNamedSetReference(NamedSetReference)
Visits a NamedSetReference.
Declaration
public override Set VisitNamedSetReference(NamedSetReference namedSetReference)
Parameters
Type | Name | Description |
---|---|---|
NamedSetReference | namedSetReference | the NamedSetReference to visit. |
Returns
Type | Description |
---|---|
Set | Returns the (possibly modified) node. |
Overrides
VisitNull(NullConstant)
Visits a null constant.
Declaration
public override Expression VisitNull(NullConstant nullConstant)
Parameters
Type | Name | Description |
---|---|---|
NullConstant | nullConstant | The null constant to visit. |
Returns
Type | Description |
---|---|
Expression | Returns a (possibly other) node. |
Overrides
VisitOrderBy(OrderBy)
Visits an OrderBy.
Declaration
public override OrderBy VisitOrderBy(OrderBy orderBy)
Parameters
Type | Name | Description |
---|---|---|
OrderBy | orderBy | the OrderBy to visit. |
Returns
Type | Description |
---|---|
OrderBy | Returns the (possibly modified) node. |
Overrides
VisitOrderByExpression(OrderByExpression)
Visits an OrderByExpression.
Declaration
public override OrderByExpression VisitOrderByExpression(OrderByExpression orderBy)
Parameters
Type | Name | Description |
---|---|---|
OrderByExpression | orderBy | the OrderByExpression to visit. |
Returns
Type | Description |
---|---|
OrderByExpression | Returns the (possibly modified) node. |
Overrides
VisitParameter(Parameter)
Visits a Parameter.
Declaration
public override Expression VisitParameter(Parameter parameter)
Parameters
Type | Name | Description |
---|---|---|
Parameter | parameter | the Parameter to visit. |
Returns
Type | Description |
---|---|
Expression | Returns the (possibly modified) node. |
Overrides
VisitQuery(Query)
Visits a query.
Declaration
public override Query VisitQuery(Query query)
Parameters
Type | Name | Description |
---|---|---|
Query | query | the query to visit. |
Returns
Type | Description |
---|---|
Query | Returns the (possibly modified) node. |
Overrides
VisitQueryOptions(QueryOptions)
Visits a QueryOptions.
Declaration
public override QueryOptions VisitQueryOptions(QueryOptions queryOptions)
Parameters
Type | Name | Description |
---|---|---|
QueryOptions | queryOptions | the QueryOptions to visit. |
Returns
Type | Description |
---|---|
QueryOptions | Returns the (possibly modified) node. |
Overrides
VisitSelectAlias(SelectAlias)
Visits a SelectAlias.
Declaration
public override Select VisitSelectAlias(SelectAlias selectAlias)
Parameters
Type | Name | Description |
---|---|---|
SelectAlias | selectAlias | the SelectAlias to visit. |
Returns
Type | Description |
---|---|
Select | Returns the (possibly modified) node. |
Overrides
VisitSelectNewWith(SelectNewWith)
Visits a SelectNewWith.
Declaration
public override Select VisitSelectNewWith(SelectNewWith selectNewWith)
Parameters
Type | Name | Description |
---|---|---|
SelectNewWith | selectNewWith | The Select New With node to visit. |
Returns
Type | Description |
---|---|
Select | Returns the (possibly modified) node. |
Overrides
VisitSkipAndTake(SkipAndTake)
Visits a SkipAndTake node.
Declaration
public override SkipAndTake VisitSkipAndTake(SkipAndTake skipAndTake)
Parameters
Type | Name | Description |
---|---|---|
SkipAndTake | skipAndTake | the SkipAndTake node to visit. |
Returns
Type | Description |
---|---|
SkipAndTake | Returns the (possibly modified) node. |
Overrides
VisitStringConstant(StringConstant)
Visits a StringConstant.
Declaration
public override Expression VisitStringConstant(StringConstant stringConstant)
Parameters
Type | Name | Description |
---|---|---|
StringConstant | stringConstant | the StringConstant to visit. |
Returns
Type | Description |
---|---|
Expression | Returns the (possibly modified) node. |