Class ContextType

java.lang.Object
gw.internal.gosu.parser.ContextType
Direct Known Subclasses:
ContextType.BlockContextType, ContextType.CommonContextType

public class ContextType extends Object
  • Field Details

    • EMPTY

      public static final ContextType EMPTY
    • OBJECT_FALSE

      public static final ContextType OBJECT_FALSE
    • pBOOLEAN_FALSE

      public static final ContextType pBOOLEAN_FALSE
    • pINT_FALSE

      public static final ContextType pINT_FALSE
    • _type

      private IType _type
    • _unboundType

      private IType _unboundType
    • _bMethodScoring

      private boolean _bMethodScoring
    • _bCompileTimeConstant

      private final boolean _bCompileTimeConstant
  • Constructor Details

    • ContextType

      private ContextType(boolean bScoring)
    • ContextType

      public ContextType(IType type)
    • ContextType

      public ContextType(IType type, boolean bScoring)
    • ContextType

      public ContextType(IType type, IType unboundType, boolean bScoring)
    • ContextType

      public ContextType(IType type, boolean bScoring, boolean bCompileTimeConstant)
    • ContextType

      public ContextType(IType type, IType unboundType, boolean bScoring, boolean bCompileTimeConstant)
  • Method Details

    • isMethodScoring

      public boolean isMethodScoring()
    • isCompileTimeConstant

      public boolean isCompileTimeConstant()
    • getType

      public IType getType()
    • getUnboundType

      public IType getUnboundType()
    • getAlternateType

      public IType getAlternateType()
    • makeBlockContexType

      public static ContextType makeBlockContexType(IType ctxType, IType ctxTypeWithTypeVars, boolean bScoring)