Uses of Interface
dev.civl.abc.ast.entity.IF.Scope
Packages that use Scope
Package
Description
Submodule ast.entity defines entities
(objects of type
Entity),
the abstract things such as types, structures, unions, enumerations,
objects (variables), functions, and so on,
which can be named by identifiers in a program.Module ast defines an Abstract Syntax Tree
representation of a program, the
AST.Submodule ast.node defines every kind of
node in an AST.
-
Uses of Scope in dev.civl.abc.ast.entity.IF
Methods in dev.civl.abc.ast.entity.IF that return ScopeModifier and TypeMethodDescriptionScope.getChildScope(int index) Returns the child scope of this scope, indexed from 0.Scope.getParentScope()The parent scope, i.e., the scope directly containing this one.Function.getScope()Returns the function scope associated to this function.Computes the join of the two scopes in the scope tree and returns it.EntityFactory.newScope(Scope.ScopeKind kind, Scope parent, ASTNode root) Creates a new scope.Methods in dev.civl.abc.ast.entity.IF that return types with arguments of type ScopeModifier and TypeMethodDescriptionScope.getChildrenScopes()Returns an iterator over the children scope of this scope.Methods in dev.civl.abc.ast.entity.IF with parameters of type ScopeModifier and TypeMethodDescriptionbooleanScope.isDescendantOf(Scope that) Determines whether this scope is equal to or a descendant of the given scope.Computes the join of the two scopes in the scope tree and returns it.EntityFactory.newScope(Scope.ScopeKind kind, Scope parent, ASTNode root) Creates a new scope. -
Uses of Scope in dev.civl.abc.ast.IF
Methods in dev.civl.abc.ast.IF with parameters of type ScopeModifier and TypeMethodDescriptionvoidStandardTypes.addToScope(Scope scope) Adds typdefs for all of the standard types to the given scope (usually the file scope). -
Uses of Scope in dev.civl.abc.ast.node.IF
Methods in dev.civl.abc.ast.node.IF that return ScopeModifier and TypeMethodDescriptionASTNode.getScope()Gets the scope in which the syntactic element corresponding to this node occurs.Methods in dev.civl.abc.ast.node.IF with parameters of type Scope