public class SetRole extends Statement
| Modifier and Type | Class and Description |
|---|---|
static class |
SetRole.Type |
| Constructor and Description |
|---|
SetRole(NodeLocation location,
SetRole.Type type,
Optional<Identifier> role) |
SetRole(SetRole.Type type,
Optional<Identifier> role) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(AstVisitor<R,C> visitor,
C context)
Accessible for
AstVisitor, use AstVisitor.process(Node, Object) instead. |
boolean |
equals(Object o) |
List<? extends Node> |
getChildren() |
Optional<Identifier> |
getRole() |
SetRole.Type |
getType() |
int |
hashCode() |
String |
toString() |
getLocationpublic SetRole(SetRole.Type type, Optional<Identifier> role)
public SetRole(NodeLocation location, SetRole.Type type, Optional<Identifier> role)
public SetRole.Type getType()
public Optional<Identifier> getRole()
public List<? extends Node> getChildren()
getChildren in class Nodepublic <R,C> R accept(AstVisitor<R,C> visitor, C context)
NodeAstVisitor, use AstVisitor.process(Node, Object) instead.Copyright © 2012–2023. All rights reserved.