public class NameExpr extends Expression implements NodeWithName<NameExpr>
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
NameExpr() |
NameExpr(Range range,
String name) |
NameExpr(String name) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
static NameExpr |
create(String qualifiedName)
Creates a new
NameExpr from a qualified name.The qualified name can contains "." (dot) characters. |
String |
getName() |
NameExpr |
setName(String name) |
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getData, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setData, setEnd, setLineComment, setParentNode, setRange, toString, toStringWithoutComments, tryAddImportToParentCompilationUnit
public NameExpr()
public NameExpr(String name)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public final String getName()
getName
in interface NodeWithName<NameExpr>
public NameExpr setName(String name)
setName
in interface NodeWithName<NameExpr>
Copyright © 2007–2016. All rights reserved.