mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
test field access
This commit is contained in:
parent
876ab5d11d
commit
a905e30e47
5
test/fixtures/java/corpus/FieldAccess.B.java
vendored
Normal file
5
test/fixtures/java/corpus/FieldAccess.B.java
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
class Grouped {
|
||||
Flowable(K key) {
|
||||
System.out.println(favorite().mountain);
|
||||
}
|
||||
}
|
23
test/fixtures/java/corpus/FieldAccess.diffA-B.txt
vendored
Normal file
23
test/fixtures/java/corpus/FieldAccess.diffA-B.txt
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
(Statements
|
||||
(Class
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Constructor
|
||||
(Identifier)
|
||||
(Annotation
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Statements
|
||||
{+(Call
|
||||
{+(MemberAccess
|
||||
{+(MemberAccess
|
||||
{+(Identifier)+})+})+}
|
||||
{+(MemberAccess
|
||||
{+(Call
|
||||
{+(Identifier)+}
|
||||
{+(Empty)+})+})+}
|
||||
{+(Empty)+})+}
|
||||
{-(Assignment
|
||||
{-(MemberAccess
|
||||
{-(This)-})-}
|
||||
{-(Identifier)-})-})))))
|
23
test/fixtures/java/corpus/FieldAccess.diffB-A.txt
vendored
Normal file
23
test/fixtures/java/corpus/FieldAccess.diffB-A.txt
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
(Statements
|
||||
(Class
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Constructor
|
||||
(Identifier)
|
||||
(Annotation
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Statements
|
||||
{+(Assignment
|
||||
{+(MemberAccess
|
||||
{+(This)+})+}
|
||||
{+(Identifier)+})+}
|
||||
{-(Call
|
||||
{-(MemberAccess
|
||||
{-(MemberAccess
|
||||
{-(Identifier)-})-})-}
|
||||
{-(MemberAccess
|
||||
{-(Call
|
||||
{-(Identifier)-}
|
||||
{-(Empty)-})-})-}
|
||||
{-(Empty)-})-})))))
|
14
test/fixtures/java/corpus/FieldAccess.parseA.txt
vendored
Normal file
14
test/fixtures/java/corpus/FieldAccess.parseA.txt
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
(Statements
|
||||
(Class
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Constructor
|
||||
(Identifier)
|
||||
(Annotation
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Statements
|
||||
(Assignment
|
||||
(MemberAccess
|
||||
(This))
|
||||
(Identifier)))))))
|
19
test/fixtures/java/corpus/FieldAccess.parseB.txt
vendored
Normal file
19
test/fixtures/java/corpus/FieldAccess.parseB.txt
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
(Statements
|
||||
(Class
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Constructor
|
||||
(Identifier)
|
||||
(Annotation
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Statements
|
||||
(Call
|
||||
(MemberAccess
|
||||
(MemberAccess
|
||||
(Identifier)))
|
||||
(MemberAccess
|
||||
(Call
|
||||
(Identifier)
|
||||
(Empty)))
|
||||
(Empty)))))))
|
Loading…
Reference in New Issue
Block a user