public final class PyStringExpr extends PyExpr
Important: This class may only be used in implementing plugins (e.g. functions, directives).
| Constructor and Description |
|---|
PyStringExpr(String text)
Constructor with max precedence assumed.
|
PyStringExpr(String text,
int precedence) |
| Modifier and Type | Method and Description |
|---|---|
PyStringExpr |
toPyString()
Convert the given type to a Python String expression.
|
equals, getPrecedence, getText, hashCode, toStringpublic PyStringExpr(String text)
text - The Python expression text.public PyStringExpr(String text, int precedence)
text - The Python expression text.precedence - The precedence of the top-most operator. Or Integer.MAX_VALUE.public PyStringExpr toPyString()
PyExprtoPyString in class PyExpr