| Constructor and Description |
|---|
BasicType(AstBasicType originalAst,
BasicTypeKind kind)
Creates and returns a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
BasicTypeKind |
getKind()
Returns the kind of this type.
|
AstBasicType |
getOriginalAst()
Returns the corresponded syntactic element of this.
|
boolean |
isSame(Type other)
Compare to other type, and returns
true iff both type are same. |
Type |
map(PropertyMappingKind mapping)
Returns the mapped result type.
|
String |
toString() |
public BasicType(AstBasicType originalAst, BasicTypeKind kind)
originalAst - the original AST, or null if this is an ad-hoc elementkind - the kind of this typeIllegalArgumentException - if some parameters were nullpublic AstBasicType getOriginalAst()
ElementgetOriginalAst in interface Elementnull if unknownpublic BasicTypeKind getKind()
public Type map(PropertyMappingKind mapping)
Typepublic boolean isSame(Type other)
Typetrue iff both type are same.Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.