Interface: StringPrimaryExpressionSemantics
compiler.StringPrimaryExpressionSemantics
Semantics for AST Node StringPrimaryExpression.
Since
0.5.0
Hierarchy
-
↳
StringPrimaryExpressionSemantics
Table of contents
Properties
Properties
quotationMarks
• quotationMarks: "\""
| "'"
The quotation marks that this string has used.
This is important to keep track of, so that the translated string is valid and does not produce a syntax error due to unescaped quotation marks inside it.
Since
0.10.0
Defined in
kipper/core/src/compiler/ast/nodes/expressions/primary-expression/string-primary-expression/string-primary-expression-semantics.ts:24
value
• value: string
The value of the constant string expression.
Since
0.5.0
Defined in
kipper/core/src/compiler/ast/nodes/expressions/primary-expression/string-primary-expression/string-primary-expression-semantics.ts:16