public class StringLiteralExpr extends LiteralExpr
Modifier and Type | Field and Description |
---|---|
protected String |
value |
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
StringLiteralExpr() |
StringLiteralExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
String value)
Deprecated.
prefer using Range objects.
|
StringLiteralExpr(Range range,
String value) |
StringLiteralExpr(String value) |
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 StringLiteralExpr |
escape(String string)
Utility method that creates a new StringLiteralExpr.
|
String |
getValue() |
void |
setValue(String value) |
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEnd, getEndColumn, getEndLine, getOrphanComments, getParentNode, getRange, hasComment, hashCode, isPositionedAfter, isPositionedAfter, isPositionedBefore, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBeginColumn, setBeginLine, setComment, setData, setEnd, setEndColumn, setEndLine, setParentNode, setRange, toString, toStringWithoutComments
protected String value
public StringLiteralExpr()
public StringLiteralExpr(String value)
@Deprecated public StringLiteralExpr(int beginLine, int beginColumn, int endLine, int endColumn, String value)
public static StringLiteralExpr escape(String string)
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 getValue()
public final void setValue(String value)
Copyright © 2007–2016. All rights reserved.