Package org.kigalisim.lang.program
Class ParsedSubstance
java.lang.Object
org.kigalisim.lang.program.ParsedSubstance
Record of a substance parsed from the source of a QubecTalk program.
Contains the operations defined for this substance.
-
Constructor Summary
ConstructorsConstructorDescriptionParsedSubstance(String name, List<Operation> operations) Create a new record of a substance. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the name of this substance.Get the operations defined for this substance.
-
Constructor Details
-
ParsedSubstance
Create a new record of a substance.- Parameters:
name- The name of the substance parsed.operations- The operations defined for this substance.
-
-
Method Details
-
getName
Get the name of this substance.- Returns:
- The name of this substance.
-
getOperations
Get the operations defined for this substance.- Returns:
- Iterable over the operations defined for this substance.
-