Package gw.internal.gosu.parser
Class ContextType
java.lang.Object
gw.internal.gosu.parser.ContextType
- Direct Known Subclasses:
ContextType.BlockContextType,ContextType.CommonContextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate booleanprivate ITypeprivate ITypestatic final ContextTypestatic final ContextTypestatic final ContextTypestatic final ContextType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateContextType(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
Modifier and TypeMethodDescriptiongetType()booleanbooleanstatic ContextTypemakeBlockContexType(IType ctxType, IType ctxTypeWithTypeVars, boolean bScoring)
-
Field Details
-
EMPTY
-
OBJECT_FALSE
-
pBOOLEAN_FALSE
-
pINT_FALSE
-
_type
-
_unboundType
-
_bMethodScoring
private boolean _bMethodScoring -
_bCompileTimeConstant
private final boolean _bCompileTimeConstant
-
-
Constructor Details
-
ContextType
private ContextType(boolean bScoring) -
ContextType
-
ContextType
-
ContextType
-
ContextType
-
ContextType
-
-
Method Details
-
isMethodScoring
public boolean isMethodScoring() -
isCompileTimeConstant
public boolean isCompileTimeConstant() -
getType
-
getUnboundType
-
getAlternateType
-
makeBlockContexType
public static ContextType makeBlockContexType(IType ctxType, IType ctxTypeWithTypeVars, boolean bScoring)
-