public class LineFieldTrait extends Object implements Trait<LineFieldTrait>
| Modifier and Type | Class and Description |
|---|---|
static class |
LineFieldTrait.Kind
The field kind.
|
| Constructor and Description |
|---|
LineFieldTrait(AstNode originalAst,
LineFieldTrait.Kind kind)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static LineFieldTrait.Kind |
getKind(PropertyDeclaration property)
Returns the CSV field kind of the property.
|
AstNode |
getOriginalAst()
Returns the corresponded syntactic element of this.
|
public LineFieldTrait(AstNode originalAst, LineFieldTrait.Kind kind)
originalAst - the original AST, or null if this is an ad-hoc elementkind - the field kindIllegalArgumentException - if some parameters were nullpublic AstNode getOriginalAst()
ElementgetOriginalAst in interface Elementnull if unknownpublic static LineFieldTrait.Kind getKind(PropertyDeclaration property)
property - target propertyIllegalArgumentException - if some parameters were nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.