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