use of cz.cuni.mff.d3s.trupple.parser.identifierstable.types.TypeDescriptor in project TrufflePascal by Aspect26.
the class FatalError method FileType.
TypeDescriptor FileType() {
TypeDescriptor fileDescriptor;
Expect(19);
Expect(13);
TypeDescriptor contentType = Type();
fileDescriptor = factory.createFileType(contentType);
return fileDescriptor;
}
use of cz.cuni.mff.d3s.trupple.parser.identifierstable.types.TypeDescriptor in project TrufflePascal by Aspect26.
the class FatalError method RecordVariant.
List<ConstantDescriptor> RecordVariant() {
List<ConstantDescriptor> caseConstants;
caseConstants = CaseConstantList();
Expect(24);
Expect(6);
TypeDescriptor type = RecordFieldList();
Expect(7);
return caseConstants;
}
use of cz.cuni.mff.d3s.trupple.parser.identifierstable.types.TypeDescriptor in project TrufflePascal by Aspect26.
the class FatalError method FileType.
TypeDescriptor FileType() {
TypeDescriptor fileDescriptor;
Expect(20);
Expect(14);
TypeDescriptor contentType = Type();
fileDescriptor = factory.createFileType(contentType);
return fileDescriptor;
}
use of cz.cuni.mff.d3s.trupple.parser.identifierstable.types.TypeDescriptor in project TrufflePascal by Aspect26.
the class FatalError method Ordinal.
OrdinalDescriptor Ordinal() {
OrdinalDescriptor ordinal;
ordinal = null;
if (isSubrange()) {
ordinal = SubrangeType();
} else if (StartOf(1)) {
TypeDescriptor typeDescriptor = Type();
ordinal = factory.castTypeToOrdinalType(typeDescriptor);
} else
SynErr(66);
return ordinal;
}
use of cz.cuni.mff.d3s.trupple.parser.identifierstable.types.TypeDescriptor in project TrufflePascal by Aspect26.
the class FatalError method PointerType.
TypeDescriptor PointerType() {
TypeDescriptor typeDescriptor;
Expect(22);
Expect(1);
typeDescriptor = factory.createPointerType(t);
return typeDescriptor;
}
Aggregations