public class StreamSupportTrait extends Object implements Trait<StreamSupportTrait>
Constructor and Description |
---|
StreamSupportTrait(AstNode originalAst,
String formatName)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
AstNode |
getOriginalAst()
Returns the corresponded syntactic element of this.
|
String |
getTypeName()
Returns the format name.
|
public StreamSupportTrait(AstNode originalAst, String formatName)
originalAst
- the original AST, or null
if this is an ad-hoc elementformatName
- the supported for mat nameIllegalArgumentException
- if some parameters were null
public AstNode getOriginalAst()
Element
getOriginalAst
in interface Element
null
if unknownpublic String getTypeName()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.