- All Implemented Interfaces:
xyz.cofe.collection.ImTree<AST>, xyz.cofe.collection.ImTreeWalk<AST>, AST, LiteralAST, xyz.cofe.text.tparse.Tok<xyz.cofe.text.tparse.TPointer>
public class StringAST
extends ASTBase<StringAST>
implements LiteralAST
Строковой литерал
-
Nested Class Summary
Nested classes/interfaces inherited from interface xyz.cofe.collection.ImTreeWalk
xyz.cofe.collection.ImTreeWalk.Walk<A extends xyz.cofe.collection.ImTree<? extends A>>
-
-
Constructor Summary
Constructors
| Modifier |
Constructor |
Description |
protected |
StringAST() |
Конструктор по умолчанию
|
protected |
StringAST(StringAST sample) |
Конструктор копирования
|
|
StringAST(xyz.cofe.text.tparse.TPointer ptr,
StringTok tok) |
Конструктор
|
-
Method Summary
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface xyz.cofe.cxel.ast.AST
nodes
Methods inherited from interface xyz.cofe.collection.ImTreeWalk
walk
Methods inherited from interface xyz.cofe.text.tparse.Tok
begin, end
-
-
Constructor Details
-
protected StringAST()
Конструктор по умолчанию
-
Конструктор копирования
- Parameters:
sample - образец
-
public StringAST(
xyz.cofe.text.tparse.TPointer ptr,
StringTok tok)
Конструктор
- Parameters:
ptr - Указатель
tok - Лексема
-
Method Details
-
-
Description copied from interface: AST
Возвращает дочерние узлы
- Specified by:
children in interface AST
- Returns:
- дочерние узлы
-
Возвращает лексему
- Returns:
- лексема
-
public java.lang.String value()
Возвращает декодированное значение
- Specified by:
value in interface LiteralAST
- Returns:
- значение