Package gw.internal.gosu.parser
Class ContextType
- java.lang.Object
-
- gw.internal.gosu.parser.ContextType
-
public class ContextType extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static ContextTypeEMPTYstatic ContextTypeOBJECT_FALSEstatic ContextTypepBOOLEAN_FALSEstatic ContextTypepINT_FALSE
-
Constructor Summary
Constructors Constructor Description ContextType(IType type)ContextType(IType type, boolean bScoring)ContextType(IType type, boolean bScoring, boolean bCompileTimeConstant)ContextType(IType type, IType unboundType, boolean bScoring)ContextType(IType type, IType unboundType, boolean bScoring, boolean bCompileTimeConstant)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ITypegetAlternateType()ITypegetType()ITypegetUnboundType()booleanisCompileTimeConstant()booleanisMethodScoring()static ContextTypemakeBlockContexType(IType ctxType, IType ctxTypeWithTypeVars, boolean bScoring)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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)
-
-