parseVariableDeclarationStatement method
Implementation
VariableDeclaration parseVariableDeclarationStatement() {
String kind = token?.value?? "let";
VariableDeclaration decl = parseVariableDeclarationList();
decl.kind = kind;
consumeSemicolon();
return decl..end = endOffset; // overwrite end so semicolon is included
}