Class ASTLocal
java.lang.Object
io.github.protasm.jvmud.language.parser.ast.ASTNode
io.github.protasm.jvmud.language.parser.ast.ASTLocal
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreplaceDeclaredType(String typeName) Replaces this local's declaration before semantic analysis for checked source translation.intintscopeId()Returns the parser scope identity that owns this local declaration.voidsetScopeDepth(int scopeDepth) voidsetScopeId(int scopeId) Sets the parser scope identity that owns this local declaration.voidsetSlot(int slot) intslot()symbol()Methods inherited from class ASTNode
accept, className, line, setSourceOrder, sourceOrder
-
Constructor Details
-
ASTLocal
-
-
Method Details
-
symbol
-
replaceDeclaredType
Replaces this local's declaration before semantic analysis for checked source translation. References retain the same local identity, scope and source location. -
slot
public int slot() -
scopeDepth
public int scopeDepth() -
scopeId
public int scopeId()Returns the parser scope identity that owns this local declaration. -
setSlot
public void setSlot(int slot) -
setScopeDepth
public void setScopeDepth(int scopeDepth) -
setScopeId
public void setScopeId(int scopeId) Sets the parser scope identity that owns this local declaration. -
descriptor
-