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 class
private static class
private static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private boolean
private IType
private IType
static final ContextType
static final ContextType
static final ContextType
static final ContextType
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ContextType
(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()
boolean
boolean
static ContextType
makeBlockContexType
(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)
-