lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.analyses.c.AbstractAstVisitor< T > Class Template Referenceabstract

Modeled after AbstractParseTreeVisitor. More...

Inherits org.lflang.analyses.c.AstVisitor< T >.

Inherited by org.lflang.analyses.c.CBaseAstVisitor< T >.

Public Member Functions

visit (CAst.AstNode tree)
 Visit an AST, and return a user-defined result of the operation.
visit (CAst.AstNode tree, List< CAst.AstNode > nodeList)
 Visit an AST with a list of other AST nodes holding some information, and return a user-defined result of the operation.

Detailed Description

Modeled after AbstractParseTreeVisitor.

Member Function Documentation

◆ visit() [1/2]

Visit an AST, and return a user-defined result of the operation.

Parameters
treeThe CAst.AstNode to visit.
Returns
The result of visiting the parse tree.

Implements org.lflang.analyses.c.AstVisitor< T >.

◆ visit() [2/2]

T org.lflang.analyses.c.AbstractAstVisitor< T >.visit ( CAst.AstNode tree,
List< CAst.AstNode > nodeList )

Visit an AST with a list of other AST nodes holding some information, and return a user-defined result of the operation.

Parameters
treeThe CAst.AstNode to visit.
nodeListA list of CAst.AstNode passed down the recursive call.
Returns
The result of visiting the parse tree.

Implements org.lflang.analyses.c.AstVisitor< T >.


The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/analyses/c/AbstractAstVisitor.java