lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.generator.LfExpressionVisitor< P, R > Interface Template Reference

A visitor for expressions in LF. More...

Inherited by org.lflang.generator.LfExpressionVisitor< P, R >.DefaultLfVisitor< P, R >.

Classes

class  DefaultLfVisitor
 Base visitor class where methods are defaulted to a common one. More...
class  LfExpressionDeepCopyVisitor
 A visitor that deep copies the expression. More...

Public Member Functions

static< P, R > R dispatch (Expression e, P arg, LfExpressionVisitor<? super P, ? extends R > visitor)
 Dispatch the visitor on the given expression type.
visitBracedListExpr (BracedListExpression expr, P param)
visitBracketListExpr (BracketListExpression expr, P param)
visitCodeExpr (CodeExpr expr, P param)
visitLiteral (Literal expr, P param)
visitParameterRef (ParameterReference expr, P param)
visitTimeLiteral (Time expr, P param)

Detailed Description

A visitor for expressions in LF.

Author
Clément Fournier <clement.fournier@tu-dresden.de>

Member Function Documentation

◆ dispatch()

static< P, R > R org.lflang.generator.LfExpressionVisitor< P, R >.dispatch ( Expression e,
P arg,
LfExpressionVisitor<? super P, ? extends R > visitor )

Dispatch the visitor on the given expression type.

Parameters
eAn expression that will be visited
argArgument for the visitor
visitorVisitor
<P>Type of parameter expected by the visitor
<R>Return type of the visitor
Returns
The return value of the visitor

◆ visitBracedListExpr()

R org.lflang.generator.LfExpressionVisitor< P, R >.visitBracedListExpr ( BracedListExpression expr,
P param )

◆ visitBracketListExpr()

R org.lflang.generator.LfExpressionVisitor< P, R >.visitBracketListExpr ( BracketListExpression expr,
P param )

◆ visitCodeExpr()

◆ visitLiteral()

◆ visitParameterRef()

R org.lflang.generator.LfExpressionVisitor< P, R >.visitParameterRef ( ParameterReference expr,
P param )

◆ visitTimeLiteral()


The documentation for this interface was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/generator/LfExpressionVisitor.java