|
|
@ -1164,20 +1164,20 @@ VariableDeclarationListNoIn
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
VariableDeclaration
|
|
|
|
VariableDeclaration
|
|
|
|
= name:Identifier __ value:Initialiser? {
|
|
|
|
= name:Identifier value:(__ Initialiser)? {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
type: "VariableDeclaration",
|
|
|
|
type: "VariableDeclaration",
|
|
|
|
name: name,
|
|
|
|
name: name,
|
|
|
|
value: value !== "" ? value : null
|
|
|
|
value: value !== "" ? value[1] : null
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
VariableDeclarationNoIn
|
|
|
|
VariableDeclarationNoIn
|
|
|
|
= name:Identifier __ value:InitialiserNoIn? {
|
|
|
|
= name:Identifier value:(__ InitialiserNoIn)? {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
type: "VariableDeclaration",
|
|
|
|
type: "VariableDeclaration",
|
|
|
|
name: name,
|
|
|
|
name: name,
|
|
|
|
value: value !== "" ? value : null
|
|
|
|
value: value !== "" ? value[1] : null
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|