parseExpressionProgram method
Implementation
Program parseExpressionProgram() {
int? start = token!.startOffset;
int? line = token!.line;
var statement = parseExpressionStatement();
consume(Token.EOF);
endOffset ??= start;
return Program(<Statement>[statement])
..start = start
..end = endOffset
..line = line;
}