IOT Dash
Public Member Functions | List of all members
IotDash.Parsing.Expressions.IExpr Interface Reference
Inheritance diagram for IotDash.Parsing.Expressions.IExpr:
Inheritance graph
[legend]
Collaboration diagram for IotDash.Parsing.Expressions.IExpr:
Collaboration graph
[legend]

Public Member Functions

void Traverse (IVisitor visitor)
 
void Traverse (Action< IExpr > visitor)
 
TValue Evaluate (IInterfaceEvaluationContext context)
 

Detailed Description

A contract for all expression tree nodes.

Member Function Documentation

◆ Evaluate()

TValue IotDash.Parsing.Expressions.IExpr.Evaluate ( IInterfaceEvaluationContext  context)
inline

Traverse the tree with an EvaluatingVisitor.

Parameters
contextContext for this evaluation.
Returns
Value of the expression.

◆ Traverse() [1/2]

void IotDash.Parsing.Expressions.IExpr.Traverse ( Action< IExpr visitor)

Traverse in preorder from this node down.

Parameters
visitorAn action that is called with all encountered nodes in preorder.

◆ Traverse() [2/2]

void IotDash.Parsing.Expressions.IExpr.Traverse ( IVisitor  visitor)

The documentation for this interface was generated from the following file: