use of cz.cuni.mff.d3s.trupple.parser.identifierstable.types.constant.ConstantDescriptor in project TrufflePascal by Aspect26.
the class FatalError method RecordVariantPart.
void RecordVariantPart() {
Expect(23);
OrdinalDescriptor selectorType = RecordVariantSelector();
Expect(13);
List<ConstantDescriptor> caseConstants = RecordVariants();
factory.assertLegalsCaseValues(selectorType, caseConstants);
}
use of cz.cuni.mff.d3s.trupple.parser.identifierstable.types.constant.ConstantDescriptor in project TrufflePascal by Aspect26.
the class FatalError method ConstantDefinition.
void ConstantDefinition() {
Expect(1);
Token identifier = t;
Expect(12);
ConstantDescriptor constant = Constant();
factory.registerConstant(identifier, constant);
}
Aggregations