Package xyz.cofe.cxel.ast
Class PropertyAST
java.lang.Object
- All Implemented Interfaces:
xyz.cofe.collection.ImTree<AST>,xyz.cofe.collection.ImTreeWalk<AST>,AST,xyz.cofe.text.tparse.Tok<xyz.cofe.text.tparse.TPointer>
public class PropertyAST extends ASTBase<PropertyAST>
Чтение свойства объекта
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedPropertyAST()Конструктор по умолчаниюprotectedPropertyAST(PropertyAST sample)Конструктор копированияPropertyAST(xyz.cofe.text.tparse.TPointer begin, xyz.cofe.text.tparse.TPointer end, AST base, IdTok idTok)Конструктор -
Method Summary
Methods inherited from class xyz.cofe.cxel.ast.ASTBase
begin, children, children, cloneAndConf, emptyChildren, end
-
Field Details
-
Constructor Details
-
PropertyAST
protected PropertyAST()Конструктор по умолчанию -
PropertyAST
Конструктор копирования- Parameters:
sample- образец
-
PropertyAST
public PropertyAST(xyz.cofe.text.tparse.TPointer begin, xyz.cofe.text.tparse.TPointer end, AST base, IdTok idTok)Конструктор- Parameters:
begin- началоend- конецbase- объект чье свойство интересуетidTok- имя свойства
-
-
Method Details
-
clone
Description copied from class:ASTBaseКлонирование AST узла- Specified by:
clonein classASTBase<PropertyAST>- Returns:
- клон
-
base
объект чье свойство интересует- Returns:
- объект
-
idTok
Возвращает имя свойства (идентификатор)- Returns:
- имя свойства (идентификатор)
-
property
public java.lang.String property()Возвращает имя свойства- Returns:
- имя свойства
-
children
Description copied from interface:ASTВозвращает дочерние узлы- Returns:
- дочерние узлы
-