Package gw.internal.gosu.parser
Class ContextType
- java.lang.Object
-
- gw.internal.gosu.parser.ContextType
-
- Direct Known Subclasses:
ContextType.BlockContextType,ContextType.CommonContextType
public class ContextType extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classContextType.BlockContextTypeprivate static classContextType.CommonContextTypeprivate static classContextType.CommonType
-
Field Summary
Fields Modifier and Type Field Description private boolean_bCompileTimeConstantprivate boolean_bMethodScoringprivate IType_typeprivate IType_unboundTypestatic ContextTypeEMPTYstatic ContextTypeOBJECT_FALSEstatic ContextTypepBOOLEAN_FALSEstatic ContextTypepINT_FALSE
-
Constructor Summary
Constructors Modifier Constructor Description privateContextType(boolean bScoring)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
-
_type
private IType _type
-
_unboundType
private IType _unboundType
-
_bMethodScoring
private boolean _bMethodScoring
-
_bCompileTimeConstant
private final boolean _bCompileTimeConstant
-
-
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)
-
-