lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.tests.compiler.LinguaFrancaASTUtilsTest Class Reference

Collection of unit tests on the ASTutils. More...

Public Member Functions

void initializedState () throws Exception
 Test that isInititialized returns true for inititialized state variables.
void initialValue () throws Exception
 Test reading initial values of parameters.
void uninitializedState () throws Exception
 Test that isInititialized returns false for uninititialized state variables.

Package Attributes

ParseHelper< Model > parser

Detailed Description

Collection of unit tests on the ASTutils.

Author
Christian Menard

Member Function Documentation

◆ initializedState()

void org.lflang.tests.compiler.LinguaFrancaASTUtilsTest.initializedState ( ) throws Exception

Test that isInititialized returns true for inititialized state variables.

◆ initialValue()

void org.lflang.tests.compiler.LinguaFrancaASTUtilsTest.initialValue ( ) throws Exception

Test reading initial values of parameters.

This checks that the example given in the documentation of the ASTUtils.initialValue() function behaves as stated in the docs.

◆ uninitializedState()

void org.lflang.tests.compiler.LinguaFrancaASTUtilsTest.uninitializedState ( ) throws Exception

Test that isInititialized returns false for uninititialized state variables.

Member Data Documentation

◆ parser

ParseHelper<Model> org.lflang.tests.compiler.LinguaFrancaASTUtilsTest.parser
package

The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/test/java/org/lflang/tests/compiler/LinguaFrancaASTUtilsTest.java