public class LineFormatTrait extends Object implements Trait<LineFormatTrait>
| Modifier and Type | Class and Description |
|---|---|
static class |
LineFormatTrait.Configuration
The line format configuration.
|
| Constructor and Description |
|---|
LineFormatTrait(AstNode originalAst,
LineFormatTrait.Configuration configuration)
Creates and returns a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
LineFormatTrait.Configuration |
getConfiguration()
Returns line configuration.
|
AstNode |
getOriginalAst()
Returns the corresponded syntactic element of this.
|
public LineFormatTrait(AstNode originalAst, LineFormatTrait.Configuration configuration)
originalAst - the original AST, or null if this is an ad-hoc elementconfiguration - the line configurationIllegalArgumentException - if some parameters were nullpublic LineFormatTrait.Configuration getConfiguration()
public AstNode getOriginalAst()
ElementgetOriginalAst in interface Elementnull if unknownCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.