diff options
author | Aleksey Kladov <[email protected]> | 2018-07-31 21:57:14 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-07-31 21:57:14 +0100 |
commit | 5b43010083d029300230e2ea35e9cce6fd5daea3 (patch) | |
tree | 484bb1f6df0c2f941295e3057bbe9ebe0f02fa30 /tests/data | |
parent | a26390b06b425230b2d269516ccdbc7dc259ede7 (diff) |
Namerefs in methods&fields
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/parser/inline/0051_method_call_expr.txt | 6 | ||||
-rw-r--r-- | tests/data/parser/inline/0052_field_expr.txt | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/tests/data/parser/inline/0051_method_call_expr.txt b/tests/data/parser/inline/0051_method_call_expr.txt index 69e13bd2a..5345e5fbd 100644 --- a/tests/data/parser/inline/0051_method_call_expr.txt +++ b/tests/data/parser/inline/0051_method_call_expr.txt | |||
@@ -19,7 +19,8 @@ FILE@[0; 44) | |||
19 | WHITESPACE@[10; 15) | 19 | WHITESPACE@[10; 15) |
20 | IDENT@[15; 16) "x" | 20 | IDENT@[15; 16) "x" |
21 | DOT@[16; 17) | 21 | DOT@[16; 17) |
22 | IDENT@[17; 20) "foo" | 22 | NAME_REF@[17; 20) |
23 | IDENT@[17; 20) "foo" | ||
23 | ARG_LIST@[20; 22) | 24 | ARG_LIST@[20; 22) |
24 | L_PAREN@[20; 21) | 25 | L_PAREN@[20; 21) |
25 | R_PAREN@[21; 22) | 26 | R_PAREN@[21; 22) |
@@ -33,7 +34,8 @@ FILE@[0; 44) | |||
33 | NAME_REF@[28; 29) | 34 | NAME_REF@[28; 29) |
34 | IDENT@[28; 29) "y" | 35 | IDENT@[28; 29) "y" |
35 | DOT@[29; 30) | 36 | DOT@[29; 30) |
36 | IDENT@[30; 33) "bar" | 37 | NAME_REF@[30; 33) |
38 | IDENT@[30; 33) "bar" | ||
37 | ARG_LIST@[33; 40) | 39 | ARG_LIST@[33; 40) |
38 | L_PAREN@[33; 34) | 40 | L_PAREN@[33; 34) |
39 | LITERAL@[34; 35) | 41 | LITERAL@[34; 35) |
diff --git a/tests/data/parser/inline/0052_field_expr.txt b/tests/data/parser/inline/0052_field_expr.txt index 0ef2c5836..78ea3a1f4 100644 --- a/tests/data/parser/inline/0052_field_expr.txt +++ b/tests/data/parser/inline/0052_field_expr.txt | |||
@@ -20,9 +20,11 @@ FILE@[0; 28) | |||
20 | WHITESPACE@[10; 15) | 20 | WHITESPACE@[10; 15) |
21 | IDENT@[15; 16) "x" | 21 | IDENT@[15; 16) "x" |
22 | DOT@[16; 17) | 22 | DOT@[16; 17) |
23 | IDENT@[17; 20) "foo" | 23 | NAME_REF@[17; 20) |
24 | IDENT@[17; 20) "foo" | ||
24 | DOT@[20; 21) | 25 | DOT@[20; 21) |
25 | IDENT@[21; 24) "bar" | 26 | NAME_REF@[21; 24) |
27 | IDENT@[21; 24) "bar" | ||
26 | SEMI@[24; 25) | 28 | SEMI@[24; 25) |
27 | WHITESPACE@[25; 26) | 29 | WHITESPACE@[25; 26) |
28 | R_CURLY@[26; 27) | 30 | R_CURLY@[26; 27) |