public final class LeftValue extends ASTProgramBase
Modifier and Type | Field and Description |
---|---|
Identifier |
name |
Selector[] |
selectors |
Modifier and Type | Method and Description |
---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
void |
accept(ASTVisitorOld visitor)
Accept visitor for a visit.
|
void |
acceptChildren(ASTVisitor visitor)
Accept visitor for a visit to the children of this node.
|
static LeftValue |
construct(Identifier name,
Selector[] selectors)
Construct the left value of an assignment.
|
static LeftValue |
construct(Identifier name,
java.util.Vector<Selector> selectors)
Construct the left value of an assignment.
|
public final Identifier name
public final Selector[] selectors
public static LeftValue construct(Identifier name, java.util.Vector<Selector> selectors)
name
- the base name of the left value.selectors
- the appended selectors.public static LeftValue construct(Identifier name, Selector[] selectors)
name
- the base name of the left value.selectors
- the appended selectors.public void accept(ASTVisitorOld visitor)
accept
in interface AST
accept
in class ASTProgramBase
visitor
- the visitor who is accepted by this node.public void accept(ASTVisitor visitor)
accept
in interface AST
accept
in class ASTProgramBase
visitor
- the visitor who is accepted by this node.public void acceptChildren(ASTVisitor visitor)
acceptChildren
in interface AST
acceptChildren
in class ASTBase
visitor
- the visitor who is accepted by the children of this node.