mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
test float
This commit is contained in:
parent
a905e30e47
commit
c5e5f0b97f
7
test/fixtures/java/corpus/Float.B.java
vendored
Normal file
7
test/fixtures/java/corpus/Float.B.java
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
public class Point {
|
||||
void dinosaur() {
|
||||
Float x = 10.0;
|
||||
Float y = 20.0;
|
||||
System.out.print(x + y);
|
||||
}
|
||||
}
|
30
test/fixtures/java/corpus/Float.diffA-B.txt
vendored
Normal file
30
test/fixtures/java/corpus/Float.diffA-B.txt
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
(Statements
|
||||
(Class
|
||||
(AccessibilityModifier)
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Method
|
||||
(Void)
|
||||
(Empty)
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Statements
|
||||
(Assignment
|
||||
(Variable
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Float)))
|
||||
{+(Statements
|
||||
{+(Assignment
|
||||
{+(Variable
|
||||
{+(Identifier)+}
|
||||
{+(Identifier)+})+}
|
||||
{+(Float)+})+})+}
|
||||
{+(Call
|
||||
{+(MemberAccess
|
||||
{+(MemberAccess
|
||||
{+(Identifier)+})+})+}
|
||||
{+(Plus
|
||||
{+(Identifier)+}
|
||||
{+(Identifier)+})+}
|
||||
{+(Empty)+})+})))))
|
30
test/fixtures/java/corpus/Float.diffB-A.txt
vendored
Normal file
30
test/fixtures/java/corpus/Float.diffB-A.txt
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
(Statements
|
||||
(Class
|
||||
(AccessibilityModifier)
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Method
|
||||
(Void)
|
||||
(Empty)
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Statements
|
||||
(Assignment
|
||||
(Variable
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Float)))
|
||||
{-(Statements
|
||||
{-(Assignment
|
||||
{-(Variable
|
||||
{-(Identifier)-}
|
||||
{-(Identifier)-})-}
|
||||
{-(Float)-})-})-}
|
||||
{-(Call
|
||||
{-(MemberAccess
|
||||
{-(MemberAccess
|
||||
{-(Identifier)-})-})-}
|
||||
{-(Plus
|
||||
{-(Identifier)-}
|
||||
{-(Identifier)-})-}
|
||||
{-(Empty)-})-})))))
|
16
test/fixtures/java/corpus/Float.parseA.txt
vendored
Normal file
16
test/fixtures/java/corpus/Float.parseA.txt
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
(Statements
|
||||
(Class
|
||||
(AccessibilityModifier)
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Method
|
||||
(Void)
|
||||
(Empty)
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Statements
|
||||
(Assignment
|
||||
(Variable
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Float))))))))
|
30
test/fixtures/java/corpus/Float.parseB.txt
vendored
Normal file
30
test/fixtures/java/corpus/Float.parseB.txt
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
(Statements
|
||||
(Class
|
||||
(AccessibilityModifier)
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Method
|
||||
(Void)
|
||||
(Empty)
|
||||
(Identifier)
|
||||
(Statements
|
||||
(Statements
|
||||
(Assignment
|
||||
(Variable
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Float)))
|
||||
(Statements
|
||||
(Assignment
|
||||
(Variable
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Float)))
|
||||
(Call
|
||||
(MemberAccess
|
||||
(MemberAccess
|
||||
(Identifier)))
|
||||
(Plus
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Empty)))))))
|
Loading…
Reference in New Issue
Block a user