Constructor
new StringLiteral(text)
Constructs a string literal whose value is the parameter
Parameters:
Name | Type | Description |
---|---|---|
text |
String | the value of the stringliteral |
- Source:
Extends
Methods
accept()
Overrides AST#accept
- Overrides:
- Source:
getText() → {String}
Gets the value of the string literal
- Source:
Returns:
the string literal value
- Type
- String