mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +03:00
llama expression
This commit is contained in:
parent
f524368c0b
commit
6e82ab5410
5
test/fixtures/java/corpus/Lambda.B.java
vendored
Normal file
5
test/fixtures/java/corpus/Lambda.B.java
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
class LambdaTest {
|
||||
void singleton() {
|
||||
stateOwner.add(x -> System.out.println("State changed"));
|
||||
}
|
||||
}
|
26
test/fixtures/java/corpus/Lambda.diffA-B.txt
vendored
Normal file
26
test/fixtures/java/corpus/Lambda.diffA-B.txt
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
(Statements
|
||||
(Class
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Method
|
||||
(Void)
|
||||
(Empty)
|
||||
(Identifier)
|
||||
(Statements
|
||||
{+(Call
|
||||
{+(MemberAccess
|
||||
{+(Identifier)+})+}
|
||||
{+(Lambda
|
||||
{+(Identifier)+}
|
||||
{+(LambdaBody
|
||||
{+(Call
|
||||
{+(MemberAccess
|
||||
{+(MemberAccess
|
||||
{+(Identifier)+})+})+}
|
||||
{+(TextElement)+}
|
||||
{+(Empty)+})+})+})+}
|
||||
{+(Empty)+})+}
|
||||
{-(Lambda
|
||||
{-(Identifier)-}
|
||||
{-(LambdaBody
|
||||
{-(Identifier)-})-})-})))))
|
26
test/fixtures/java/corpus/Lambda.diffB-A.txt
vendored
Normal file
26
test/fixtures/java/corpus/Lambda.diffB-A.txt
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
(Statements
|
||||
(Class
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Method
|
||||
(Void)
|
||||
(Empty)
|
||||
(Identifier)
|
||||
(Statements
|
||||
{+(Lambda
|
||||
{+(Identifier)+}
|
||||
{+(LambdaBody
|
||||
{+(Identifier)+})+})+}
|
||||
{-(Call
|
||||
{-(MemberAccess
|
||||
{-(Identifier)-})-}
|
||||
{-(Lambda
|
||||
{-(Identifier)-}
|
||||
{-(LambdaBody
|
||||
{-(Call
|
||||
{-(MemberAccess
|
||||
{-(MemberAccess
|
||||
{-(Identifier)-})-})-}
|
||||
{-(TextElement)-}
|
||||
{-(Empty)-})-})-})-}
|
||||
{-(Empty)-})-})))))
|
13
test/fixtures/java/corpus/Lambda.parseA.txt
vendored
Normal file
13
test/fixtures/java/corpus/Lambda.parseA.txt
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(Statements
|
||||
(Class
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Method
|
||||
(Void)
|
||||
(Empty)
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Lambda
|
||||
(Identifier)
|
||||
(LambdaBody
|
||||
(Identifier))))))))
|
22
test/fixtures/java/corpus/Lambda.parseB.txt
vendored
Normal file
22
test/fixtures/java/corpus/Lambda.parseB.txt
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
(Statements
|
||||
(Class
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Method
|
||||
(Void)
|
||||
(Empty)
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Call
|
||||
(MemberAccess
|
||||
(Identifier))
|
||||
(Lambda
|
||||
(Identifier)
|
||||
(LambdaBody
|
||||
(Call
|
||||
(MemberAccess
|
||||
(MemberAccess
|
||||
(Identifier)))
|
||||
(TextElement)
|
||||
(Empty))))
|
||||
(Empty)))))))
|
Loading…
Reference in New Issue
Block a user