class DeclarationAnalysis extends DepthFirstAstVisitor[Map[String, ADeclaration]] with Analysis[DeclarationData]
Declaration analysis, binds identifiers to their declarations.
- See also
- Alphabetic
- By Inheritance
- DeclarationAnalysis
- Analysis
- DepthFirstAstVisitor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
analyze(): DeclarationData
Performs the analysis and returns the result.
Performs the analysis and returns the result.
- Definition Classes
- DeclarationAnalysis → Analysis
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extendEnv(env: Map[String, ADeclaration], pair: (String, ADeclaration)): Map[String, ADeclaration]
Extend the environment
env
with the bindingpair
, checking that no re-definition occurs.Extend the environment
env
with the bindingpair
, checking that no re-definition occurs.- env
the environment to extend
- pair
the binding to add
- returns
the extended environment if no conflict occurs, throws a DeclarationError otherwise
-
def
extendEnv(env: Map[String, ADeclaration], ext: Map[String, ADeclaration]): Map[String, ADeclaration]
Extend the environment
env
with the bindings inext
, checking that no re-definitions occur.Extend the environment
env
with the bindings inext
, checking that no re-definitions occur.- env
the environment to extend
- ext
the bindings to add
- returns
the extended environment if no conflict occurs, throws a DeclarationError otherwise
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
visit(node: AstNode, env: Map[String, ADeclaration]): Unit
Recursively visits the nodes of the AST.
Recursively visits the nodes of the AST. An environment
env
is provided as argument, mapping each identifier name to the node that declares it. Whenever an identifier is visited,declResult
is extended accordingly.- node
the node to visit
- env
the environment associating with each name its declaration in the current scope
- Definition Classes
- DeclarationAnalysis → DepthFirstAstVisitor
-
def
visitChildren(node: AstNode, arg: Map[String, ADeclaration]): Unit
Recursively perform the visit to the sub-node of the passed node, passing the provided argument.
Recursively perform the visit to the sub-node of the passed node, passing the provided argument.
- node
the node whose children need to be visited
- arg
the argument to be passed to all sub-nodes
- Definition Classes
- DepthFirstAstVisitor
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated