Package org.kigalisim.lang.fragment
Class ProgramFragment
java.lang.Object
org.kigalisim.lang.fragment.Fragment
org.kigalisim.lang.fragment.ProgramFragment
A fragment containing a parsed program.
-
Constructor Summary
ConstructorsConstructorDescriptionProgramFragment(ParsedProgram program) Create a new fragment containing a parsed program. -
Method Summary
Modifier and TypeMethodDescriptionGet the program parsed from the source of this fragment.Methods inherited from class org.kigalisim.lang.fragment.Fragment
getApplication, getDuring, getIsStanzaPolicyOrDefault, getIsStanzaScenarios, getOperation, getPolicy, getScenario, getScenarios, getString, getSubstance, getUnit
-
Constructor Details
-
ProgramFragment
Create a new fragment containing a parsed program.- Parameters:
program- The program parsed from the source of this fragment.
-
-
Method Details
-
getProgram
Get the program parsed from the source of this fragment.- Overrides:
getProgramin classFragment- Returns:
- The parsed program.
-