|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object polyglot.types.TypeObject_c polyglot.types.Type_c polyglot.types.ReferenceType_c polyglot.types.ArrayType_c jif.types.ConstArrayType_c
public class ConstArrayType_c
Field Summary | |
---|---|
protected boolean |
isConst
|
protected boolean |
isNonConst
|
Fields inherited from class polyglot.types.ArrayType_c |
---|
base, fields, interfaces, methods |
Fields inherited from class polyglot.types.TypeObject_c |
---|
position, ts |
Constructor Summary | |
---|---|
protected |
ConstArrayType_c()
Used for deserializing types. |
|
ConstArrayType_c(JifTypeSystem ts,
polyglot.util.Position pos,
polyglot.types.Type base,
boolean isConst)
|
|
ConstArrayType_c(JifTypeSystem ts,
polyglot.util.Position pos,
polyglot.types.Type base,
boolean isConst,
boolean isNonConst)
|
Method Summary | |
---|---|
boolean |
equalsImpl(polyglot.types.TypeObject o)
|
protected void |
init()
|
boolean |
isConst()
The array type is a const array (or castable to one). |
boolean |
isImplicitCastValidImpl(polyglot.types.Type toType)
|
boolean |
isNonConst()
The array type is a non-const array (or castable to one). |
java.lang.String |
toString()
|
Methods inherited from class polyglot.types.ArrayType_c |
---|
base, base, cloneMethod, dims, fieldNamed, fields, hashCode, interfaces, isArray, isCanonical, isCastValidImpl, lengthField, methods, print, superType, toArray, translate, typeEqualsImpl, ultimateBase |
Methods inherited from class polyglot.types.ReferenceType_c |
---|
descendsFromImpl, hasMethod, hasMethodImpl, isReference, members, methods, methodsNamed, toReference |
Methods inherited from class polyglot.types.Type_c |
---|
arrayOf, arrayOf, descendsFrom, isBoolean, isByte, isCastValid, isChar, isClass, isComparable, isDouble, isFloat, isImplicitCastValid, isInt, isIntOrLess, isLong, isLongOrLess, isNull, isNumeric, isPackage, isPrimitive, isShort, isSubtype, isSubtypeImpl, isThrowable, isType, isUncheckedException, isVoid, numericConversionValid, numericConversionValid, numericConversionValidImpl, numericConversionValidImpl, toClass, toNull, toPackage, toPrimitive, toType, typeEquals |
Methods inherited from class polyglot.types.TypeObject_c |
---|
copy, equals, position, typeSystem |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface polyglot.types.ArrayType |
---|
base, base, cloneMethod, dims, lengthField, ultimateBase |
Methods inherited from interface polyglot.types.ReferenceType |
---|
fieldNamed, fields, hasMethod, hasMethodImpl, interfaces, members, methods, methods, methodsNamed, superType |
Methods inherited from interface polyglot.types.Type |
---|
arrayOf, arrayOf, descendsFrom, descendsFromImpl, isArray, isBoolean, isByte, isCastValid, isCastValidImpl, isChar, isClass, isComparable, isDouble, isFloat, isImplicitCastValid, isInt, isIntOrLess, isLong, isLongOrLess, isNull, isNumeric, isPrimitive, isReference, isShort, isSubtype, isSubtypeImpl, isThrowable, isUncheckedException, isVoid, numericConversionValid, numericConversionValid, numericConversionValidImpl, numericConversionValidImpl, print, toArray, toClass, toNull, toPrimitive, toReference, translate, typeEquals, typeEqualsImpl |
Methods inherited from interface polyglot.types.Qualifier |
---|
isPackage, isType, toPackage, toType |
Methods inherited from interface polyglot.types.TypeObject |
---|
isCanonical, position, typeSystem |
Methods inherited from interface polyglot.util.Copy |
---|
copy |
Field Detail |
---|
protected boolean isConst
protected boolean isNonConst
Constructor Detail |
---|
protected ConstArrayType_c()
public ConstArrayType_c(JifTypeSystem ts, polyglot.util.Position pos, polyglot.types.Type base, boolean isConst)
public ConstArrayType_c(JifTypeSystem ts, polyglot.util.Position pos, polyglot.types.Type base, boolean isConst, boolean isNonConst)
Method Detail |
---|
public java.lang.String toString()
toString
in interface polyglot.types.Type
toString
in class polyglot.types.ArrayType_c
public boolean equalsImpl(polyglot.types.TypeObject o)
equalsImpl
in interface polyglot.types.TypeObject
equalsImpl
in class polyglot.types.ArrayType_c
public boolean isConst()
ConstArrayType
isConst
in interface ConstArrayType
public boolean isNonConst()
ConstArrayType
isNonConst
in interface ConstArrayType
public boolean isImplicitCastValidImpl(polyglot.types.Type toType)
isImplicitCastValidImpl
in interface polyglot.types.Type
isImplicitCastValidImpl
in class polyglot.types.ArrayType_c
protected void init()
init
in class polyglot.types.ArrayType_c
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |