lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.analyses.c.AstUtils Class Reference

Static Public Member Functions

static void printStackTraceAndMatchedText (ParserRuleContext ctx)
 A handy function for debugging ASTs.
static CAst.AstNode takeConjunction (List< CAst.AstNode > conditions)
static CAst.AstNode takeDisjunction (List< CAst.AstNode > conditions)

Member Function Documentation

◆ printStackTraceAndMatchedText()

void org.lflang.analyses.c.AstUtils.printStackTraceAndMatchedText ( ParserRuleContext ctx)
static

A handy function for debugging ASTs.

It prints the stack trace of the visitor functions and shows the text matched by the ANTLR rules.

◆ takeConjunction()

CAst.AstNode org.lflang.analyses.c.AstUtils.takeConjunction ( List< CAst.AstNode > conditions)
static

◆ takeDisjunction()

CAst.AstNode org.lflang.analyses.c.AstUtils.takeDisjunction ( List< CAst.AstNode > conditions)
static

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/AstUtils.java