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(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, 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
protected String value
public StringLiteralExpr()
public StringLiteralExpr(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.