ladybird/Userland/Libraries/LibCpp/Tests/parser/local-vars.ast
Itamar 605becb28b LibCpp: Update regressions tests results
The LibCpp regression tests results have to be updated after tweaking
the token end position calculation logic of some token types.
2022-02-09 00:51:31 +01:00

33 lines
669 B
Text

TranslationUnit[1:0->7:0]
FunctionDeclaration[1:0->7:0]
NamedType[1:0->1:2]
int
foo
(
)
FunctionDefinition[2:0->7:0]
{
VariableDeclaration[3:4->3:9]
NamedType[3:4->3:6]
int
x
VariableDeclaration[4:4->4:16]
NamedType[4:4->4:9]
double
y
NumericLiteral[4:15->4:15]
2
VariableDeclaration[5:4->5:20]
NamedType[5:4->5:9]
double
z
BinaryExpression[5:15->5:19]
Name[5:15->5:15]
x
+
Name[5:19->5:19]
y
ReturnStatement[6:4->6:12]
Name[6:11->6:11]
z
}