public class ModelSymbol extends Object implements Symbol<ModelDeclaration>
| Modifier | Constructor and Description |
|---|---|
protected |
ModelSymbol(DmdlSemantics owner,
AstSimpleName name)
Creates and returns a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
PropertySymbol |
createPropertySymbol(AstSimpleName propertyName)
Creates and returns a new property symbol in this model.
|
boolean |
equals(Object obj) |
ModelDeclaration |
findDeclaration()
Returns the corresponding declaration.
|
AstSimpleName |
getName()
Returns the name of this symbol.
|
AstNode |
getOriginalAst()
Returns the corresponded syntactic element of this.
|
int |
hashCode() |
String |
toString() |
protected ModelSymbol(DmdlSemantics owner, AstSimpleName name)
owner - the world that contains this modelname - the name of thisIllegalArgumentException - if some parameters were nullpublic AstNode getOriginalAst()
ElementgetOriginalAst in interface Elementnull if unknownpublic AstSimpleName getName()
SymbolgetName in interface Symbol<ModelDeclaration>public PropertySymbol createPropertySymbol(AstSimpleName propertyName)
propertyName - the name of target propertyIllegalArgumentException - if some parameters were nullpublic ModelDeclaration findDeclaration()
SymbolfindDeclaration in interface Symbol<ModelDeclaration>null if is not existCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.