Uses of Class
simula.compiler.syntaxClass.Type
Package
Description
Simula Compiler.
Simula Compiler Parsing.
Simula Compiler Syntax Classes.
Simula Compiler Declarations.
Simula Compiler Expressions.
Simula Compiler Statements.
-
Uses of Type in simula.compiler
Modifier and TypeMethodDescriptionstatic Type
AttributeFileIO.readAttributeFile
(InputStream inputStream, File file, DeclarationList declarationList) Read an attribute file. -
Uses of Type in simula.compiler.parsing
-
Uses of Type in simula.compiler.syntaxClass
Modifier and TypeFieldDescriptionstatic final Type
Type.Boolean
Simula's Boolean typestatic final Type
Type.Character
Simula's Character typestatic final Type
Type.Integer
Simula's Integer typestatic final Type
Type.Label
Simula's Label typestatic final Type
Type.LongReal
Simula's Long Real typestatic final Type
Type.Procedure
Simula's Procedure typestatic final Type
Type.Real
Simula's Real typestatic final Type
Type.Ref
Simula's Ref() typestatic final Type
Type.Text
Simula's Text typeprivate Type[]
OverLoad.type
The overloaded types.Modifier and TypeMethodDescriptionstatic Type
Type.arithmeticTypeConversion
(Type type1, Type type2) Returns the most dominant type.static Type
Type.commonRefType
(Type type1, Type type2) Returns the type to which both types can be converted.static Type
Type.commonTypeConversion
(Type type1, Type type2) Returns the type to which both types can be converted.static Type
Type.inType
(ObjectInput inpt) Read a type from an ObjectInput file.static final Type
Simula's Ref(className) typeModifier and TypeMethodDescriptionstatic Type
Type.arithmeticTypeConversion
(Type type1, Type type2) Returns the most dominant type.static Type
Type.commonRefType
(Type type1, Type type2) Returns the type to which both types can be converted.static Type
Type.commonTypeConversion
(Type type1, Type type2) Returns the type to which both types can be converted.Type.isConvertableTo
(Type to) Checks if a type-conversion is legal.boolean
Type.isSubReferenceOf
(Type other) Utility method isSubReferenceOf.ModifierConstructorDescriptionCreate a new OverLoad type list.Type
(Type tp, ConnectionBlock declaredIn) Create a new Type based on the given Type and ConnectionBlock. -
Uses of Type in simula.compiler.syntaxClass.declaration
Modifier and TypeFieldDescriptionDeclaration.type
The typeProcedureSpecification.type
The procedure's type.Modifier and TypeMethodDescriptionprivate static Type
ExternalDeclaration.readAttributeFile
(String identifier, File file, DeclarationList declarationList) Read an attribute file.Modifier and TypeMethodDescriptionprivate void
StandardClass.addStandardAttribute
(Type type, String ident) Create and add a new standard attributeprivate void
StandardClass.addStandardAttribute
(Type type, String ident, int iValue) Create and add a new constant standard attributeprivate void
StandardClass.addStandardProcedure
(Declaration.Kind kind, Type type, String ident) Create and add a new StandardProcedureprivate void
StandardClass.addStandardProcedure
(Declaration.Kind kind, Type type, String ident, Parameter... param) Create and add a new StandardProcedure(package private) static void
ArrayDeclaration.expectArrayDeclaration
(Type type, DeclarationList declarationList) Parse an array declaration and add it to the given declaration list.private static void
VirtualSpecification.expectIdentifierList
(ClassDeclaration cls, Type type, VirtualSpecification.Kind kind) Parse a virtual identifier list.static ProcedureDeclaration
ProcedureDeclaration.expectProcedureDeclaration
(Type type) Parse and build a ProcedureDeclaration.(package private) static ProcedureSpecification
ProcedureSpecification.expectProcedureSpecification
(Type type) Procedure Specification.(package private) static void
SimpleVariableDeclaration.expectSimpleVariable
(Type type, DeclarationList declarationList) Parse a simple variable declaration.private static Parameter
StandardClass.parameter
(String ident, Parameter.Kind kind, Parameter.Mode mode, Type type) Create a new Parameterprivate static Parameter
StandardClass.parameter
(String ident, Parameter.Mode mode, Type type) Create a new Parameterprivate static Parameter
Create a new Parameterprivate static Parameter
StandardClass.parameter
(String ident, Type type, Parameter.Kind kind) Create a new Parameterprivate static Parameter
StandardClass.parameter
(String ident, Type type, Parameter.Kind kind, int nDim) Create a new Parameter(package private) void
Parameter.setTypeAndKind
(Type type, Parameter.Kind kind) Utility: Set new type and kind.ModifierConstructorDescriptionprivate
ArrayDeclaration
(String identifier, Type type, Vector<ArrayDeclaration.BoundPair> boundPairList) Create a new ArrayDeclaration(package private)
Parameter
(String identifier, Type type, Parameter.Kind kind) Create a new Parameter.Parameter
(String identifier, Type type, Parameter.Kind kind, int nDim) Create a new Parameter.private
ProcedureSpecification
(String identifier, Type type, Vector<Parameter> pList) Create a new ProcedureSpecificationSimpleVariableDeclaration
(Type type, String identifier) Create a new SimpleVariableDeclaration.(package private)
SimpleVariableDeclaration
(Type type, String identifier, boolean constant, Constant constantElement) Create a new SimpleVariableDeclaration.(package private)
StandardProcedure
(DeclarationScope declaredIn, Declaration.Kind kind, Type type, String ident) Create a new StandardProcedure without parameters.(package private)
StandardProcedure
(DeclarationScope declaredIn, Declaration.Kind kind, Type type, String ident, Parameter... param) Create a new StandardProcedure with parameters.(package private)
VirtualSpecification
(String identifier, Type type, VirtualSpecification.Kind kind, ProcedureSpecification procedureSpec) VirtualSpecification. -
Uses of Type in simula.compiler.syntaxClass.expression
Modifier and TypeMethodDescriptionprivate Type
RemoteVariable.doRemoteChecking
(Expression obj, Expression attr) Perform semantic checkingprivate Type
RemoteVariable.doRemoteTextChecking
(Expression obj, Expression attr) Perform semantic checkingprivate static Type
Returns the type of this number.Modifier and TypeMethodDescriptionprivate static void
CallProcedure.doArrayParameter
(StringBuilder s, Type formalType, Parameter.Mode mode, Expression apar) Coding Utility: Edit Array as Actual Parameter into the given StringBuilder.private static String
CallProcedure.doParameterTransmition
(Type formalType, Parameter.Kind kind, Parameter.Mode mode, Expression apar) Coding Utility: Edit parameter transmission,private static void
CallProcedure.doProcedureParameter
(StringBuilder s, Type formalType, Parameter.Mode mode, Expression apar) Coding Utility: Edit Procedure as Actual Parameter into the given StringBuilder.private static void
CallProcedure.doSimpleParameter
(StringBuilder s, Type formalType, Parameter.Mode mode, Expression apar) Coding Utility: Edit simple parameter into the given StringBuilder.static String
TypeConversion.mayBeConvert
(Type fromType, Type toType, String expr) Test if a TypeConversion is necessary and then create it.static Expression
TypeConversion.testAndCreate
(Type toType, Expression expression) Test if a TypeConversion is necessary and then create it.private static boolean
TypeConversion.testCastNeccessary
(Type toType, Expression expression) Test if a TypeConversion is necessary.ModifierConstructorDescription(package private)
ConditionalExpression
(Type type, Expression condition, Expression thenExpression, Expression elseExpression) Create a new ConditionalExpression.Create a new Constant.private
TypeConversion
(Type type, Expression expression) Create a new TypeConversion. -
Uses of Type in simula.compiler.syntaxClass.statement
Modifier and TypeMethodDescriptionEdit Java source code for this ForListElement.private String
ForStatement.edControlVariableByName
(String classIdent, Type xType) Coding Utility: Edit control variable by name.