Module xl.compiler

Class Local

java.lang.Object
de.grogra.reflect.MemberBase
de.grogra.xl.compiler.scope.Local
All Implemented Interfaces:
Member, ExpressionFactory

public class Local extends MemberBase implements ExpressionFactory
  • Field Details

    • index

      public int index
    • wrapper

      public Local wrapper
    • wrapped

      public Local wrapped
    • DUMMY

      public static final Local DUMMY
  • Method Details

    • createSet

      public final AssignLocal createSet()
    • createSet

      public final Expression createSet(Scope scope, antlr.collections.AST ast)
    • createGet

      public final GetLocal createGet()
    • createExpression

      public final Expression createExpression(Scope scope, antlr.collections.AST ast)
      Specified by:
      createExpression in interface ExpressionFactory
    • setConstant

      public void setConstant(Object constant)
    • createVMXLocal

      public final VMXState.Local createVMXLocal()
    • getModifiersEx

      public long getModifiersEx()
    • setVariable

      public void setVariable(PatternBuilder builder)
    • getPatternBuilder

      public PatternBuilder getPatternBuilder()
    • getMethodScope

      public final MethodScope getMethodScope()
    • getScope

      public final BlockScope getScope()
    • isAccessed

      public final boolean isAccessed(Expression expr, int accessType)
    • getAccessesInTree

      public final int getAccessesInTree(Expression root)
    • isParameter

      public final boolean isParameter()
    • isJavaLocal

      public final boolean isJavaLocal()
    • isVariable

      public final boolean isVariable(PatternBuilder builder)
    • getType

      public Type getType()
      Specified by:
      getType in interface ExpressionFactory
    • toString

      public String toString()
      Overrides:
      toString in class MemberBase
    • getAST

      public antlr.collections.AST getAST()
    • isDeclaredBehind

      public boolean isDeclaredBehind(antlr.collections.AST p)
    • getDeclaredAnnotations

      public ObjectList<Annotation> getDeclaredAnnotations()
    • setAnnotations

      public void setAnnotations(ObjectList<Annotation> annots)