Uses of Class
simula.compiler.syntaxClass.declaration.DeclarationScope
Package
Description
Simula Compiler Syntax Classes.
Simula Compiler Declarations.
Simula Compiler Expressions.
Simula Compiler Utilities.
-
Uses of DeclarationScope in simula.compiler.syntaxClass
Modifier and TypeMethodDescriptionvoid
Type.doChecking
(DeclarationScope scope) Perform semantic checking in the given scope. -
Uses of DeclarationScope in simula.compiler.syntaxClass.declaration
Modifier and TypeClassDescriptionclass
Block Declaration.class
Simula Class Declaration.final class
Connection Block.final class
Maybe Block Declaration.final class
Prefixed Block Declaration.class
Procedure Declaration.final class
Standard Class.final class
Standard Procedure.final class
Switch Declaration.Modifier and TypeFieldDescriptionDeclaration.declaredIn
The DeclarationScope in which this Declaration is defined.Modifier and TypeMethodDescription(package private) void
ProcedureSpecification.doChecking
(DeclarationScope scope) Perform semantic checking.(package private) static void
MaybeBlockDeclaration.moveLabelsFrom
(DeclarationScope block) Utility: Moves labels from the givent block.private static boolean
ClassDeclaration.withinScope
(DeclarationScope otherScope) Checks if the other scope is this scope or any of the prefixes.ModifierConstructorDescription(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. -
Uses of DeclarationScope in simula.compiler.syntaxClass.expression
-
Uses of DeclarationScope in simula.compiler.utilities
Modifier and TypeFieldDescriptionprivate static DeclarationScope
Global.currentScope
Current declaration scope.Meaning.declaredIn
Where it was declaredfinal DeclarationScope
Meaning.foundIn
Where it was foundModifier and TypeFieldDescriptionprivate static Stack
<DeclarationScope> Global.scopeStack
The declaration scope stack.Modifier and TypeMethodDescriptionstatic DeclarationScope
Global.getCurrentScope()
Returns the current scope.Modifier and TypeMethodDescriptionstatic void
Global.enterScope
(DeclarationScope scope) During Checking and Coding: Enter declaration scope.static void
Global.setScope
(DeclarationScope scope) During Parsing: Set current scope.ModifierConstructorDescriptionMeaning
(Declaration declaredAs, DeclarationScope declaredIn) Create a new Meaning.Meaning
(Declaration declaredAs, DeclarationScope declaredIn, DeclarationScope foundIn, boolean foundBehindInvisible) Create a new Meaning.