Class SemanticModel
java.lang.Object
io.github.protasm.jvmud.compiler.semantic.SemanticModel
Captures semantic artifacts produced by
SemanticAnalyzer.-
Constructor Summary
ConstructorsConstructorDescriptionSemanticModel(ASTObject astObject, SemanticScope objectScope) SemanticModel(ASTObject astObject, SemanticScope objectScope, CompilationUnit compilationUnit) -
Method Summary
Modifier and TypeMethodDescriptionReturns the compilation unit that produced this model when analysis came from a pipeline run.
-
Constructor Details
-
SemanticModel
-
SemanticModel
public SemanticModel(ASTObject astObject, SemanticScope objectScope, CompilationUnit compilationUnit)
-
-
Method Details
-
astObject
-
objectScope
-
compilationUnit
Returns the compilation unit that produced this model when analysis came from a pipeline run.The unit gives later stages access to resolved parent units, which is needed for compiler metadata such as transitive LPC inheritance introspection. Ad-hoc semantic models may leave this unset.
-