mirror of
https://github.com/github/semantic.git
synced 2024-12-19 04:41:47 +03:00
75 lines
1.5 KiB
JSON
75 lines
1.5 KiB
JSON
{
|
|
"trees": [
|
|
{
|
|
"tree":
|
|
{
|
|
"term": "Statements",
|
|
"children": [
|
|
{
|
|
"term": "LowAnd",
|
|
"children": [
|
|
{
|
|
"term": "Send",
|
|
"sendArgs": [],
|
|
"sendBlock": null,
|
|
"sendReceiver": null,
|
|
"sendSelector":
|
|
{
|
|
"term": "Identifier",
|
|
"name": "foo",
|
|
"sourceRange": [0, 3],
|
|
"sourceSpan":
|
|
{
|
|
"start": [1, 1],
|
|
"end": [1, 4]
|
|
}
|
|
},
|
|
"sourceRange": [0, 3],
|
|
"sourceSpan":
|
|
{
|
|
"start": [1, 1],
|
|
"end": [1, 4]
|
|
}
|
|
},
|
|
{
|
|
"term": "Send",
|
|
"sendArgs": [],
|
|
"sendBlock": null,
|
|
"sendReceiver": null,
|
|
"sendSelector":
|
|
{
|
|
"term": "Identifier",
|
|
"name": "bar",
|
|
"sourceRange": [8, 11],
|
|
"sourceSpan":
|
|
{
|
|
"start": [1, 9],
|
|
"end": [1, 12]
|
|
}
|
|
},
|
|
"sourceRange": [8, 11],
|
|
"sourceSpan":
|
|
{
|
|
"start": [1, 9],
|
|
"end": [1, 12]
|
|
}
|
|
}],
|
|
"sourceRange": [0, 11],
|
|
"sourceSpan":
|
|
{
|
|
"start": [1, 1],
|
|
"end": [1, 12]
|
|
}
|
|
}],
|
|
"sourceRange": [0, 12],
|
|
"sourceSpan":
|
|
{
|
|
"start": [1, 1],
|
|
"end": [2, 1]
|
|
}
|
|
},
|
|
"path": "test/fixtures/ruby/corpus/and-or.A.rb",
|
|
"language": "Ruby"
|
|
}]
|
|
}
|