T
- kind of traitpublic class BaseTrait<T extends BaseTrait<T>> extends Object implements Trait<T>
Constructor and Description |
---|
BaseTrait() |
Modifier and Type | Method and Description |
---|---|
AstNode |
getOriginalAst()
Returns the corresponded syntactic element of this.
|
void |
setOriginalAst(AstNode ast,
boolean overwrite)
Sets the original AST.
|
public AstNode getOriginalAst()
Element
getOriginalAst
in interface Element
null
if unknownpublic void setOriginalAst(AstNode ast, boolean overwrite)
ast
- the ASToverwrite
- true
to overwrite previous AST, or false
to set only if it is absentCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.