next up previous
Next: Identifiers Up: The Abstract Syntax Tree Previous: The Abstract Syntax Tree

String constants

A string constant may be made up of a concatenation of string literals. Such a concatenation is not relevant for the semantic analysis, but must be carried out if the program is being translated. Thus it is made explicit in the abstract syntax tree.

AST nodes[2]:

RULE: StringSeq ::= string_literal           END;
RULE: StringSeq ::= StringSeq string_literal END;
This macro is defined in definitions 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, and 18.
This macro is invoked in definition 1.