E
- The node types for the AST.public final class Char<E extends Enum<?>> extends NoChildren<E> implements IChar
Constructor and Description |
---|
Char(char value,
E type)
Creates a new Char AST.
|
Modifier and Type | Method and Description |
---|---|
void |
acceptASTVisitor(IASTVisitor visitor)
Accepts the visitor.
|
char |
getValue()
Gets the character value.
|
String |
toString() |
childrenAsString, getChildren, getPosition, getType, hashCode
public Char(char value, E type)
value
- The character value.type
- The type of the AST.public char getValue()
public void acceptASTVisitor(IASTVisitor visitor)
acceptASTVisitor
in interface IAST<E extends Enum<?>>
visitor
- The visitor to accept.Copyright © 2017 Kevoree Project. All rights reserved.