Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Update SDK version #41

Merged
merged 1 commit into from
Apr 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions fixtures/unicode.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
"𝓏";
18 changes: 18 additions & 0 deletions fixtures/unicode.php.native
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
children: [
{
attributes: {
endFilePos: 11,
endLine: 2,
endTokenPos: 1,
kind: 2,
startFilePos: 6,
startLine: 2,
startTokenPos: 1,
},
nodeType: "Scalar_String",
value: "𝓏",
},
],
nodeType: "Module",
}
21 changes: 21 additions & 0 deletions fixtures/unicode.php.sem.uast
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ '@type': "php:Module",
'@role': [Module],
children: [
{ '@type': "uast:String",
'@pos': { '@type': "uast:Positions",
start: { '@type': "uast:Position",
offset: 6,
line: 2,
col: 1,
},
end: { '@type': "uast:Position",
offset: 12,
line: 2,
col: 7,
},
},
Format: "",
Value: "𝓏",
},
],
}
24 changes: 24 additions & 0 deletions fixtures/unicode.php.uast
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ '@type': "Module",
'@role': [Module],
children: [
{ '@type': "Scalar_String",
'@token': "𝓏",
'@role': [Expression, Literal, String],
'@pos': { '@type': "uast:Positions",
start: { '@type': "uast:Position",
offset: 6,
line: 2,
col: 1,
},
end: { '@type': "uast:Position",
offset: 12,
line: 2,
col: 7,
},
},
attributes: {
kind: 2,
},
},
],
}