ScanfNode constructor
- StringLiteral literal,
- List<
IdentifierNode> children
Constructs a scanf statement with format string and target variables.
Parameters:
literal
: The format string literal containing scanf format specifierschildren
: List of identifier nodes representing variables to read into
Implementation
ScanfNode(StringLiteral literal, List<IdentifierNode> children) : super(null, [literal, ...children]);