-
How is this translator supposed to be used? After you have put so much work into this tool, there should be some time left to provide at least a little readme which describes its usage.
-
There is currently no way to allow extraction of nested properties of a node, which would be useful for getting, for example, the line and column of the position.
-
This class would be used to get a more strongly typed version of SourceNode. For example, instead of a SourceNode with an internal type of `For` there would be a `ForType` which allows for more contex…
-
When running on local mode with `--packages "tech.sourced:engine:0.6.3"` - extracting UASTs works.
But after switching to actual Apache Spark cluster with the same params and query i.e in Standal…
-
The DSL was designed and implemented to run in both forward (AST->UAST) and reverse (UAST->AST) modes. This allows converting the native AST returned by drivers to a canonical form (UAST) and back to …
-
The most of the semantic nodes do not have the assigned roles. This is very inconvenient for the majority of our mining tasks, because we do not want to write complex XPaths which take the structure i…
-
If it's parsed the following example:
```javascript
a = 1; //comment here
/* block comment */
```
It is returned each comment twice with different `internalRole`
![image](https://user-imag…
-
Semantic UAST screenshots
Go
Java
JS
PHP
Python
Ruby
As can be seen,
`//*[@type='uast:FunctionGroup]/Nodes/Node/Name[@type='uast:Identifier']/Name` …
-
Following up the query from #365 `//uast:Function/../../Name` it returns
![image](https://user-images.githubusercontent.com/2793551/52918519-62a88400-32f8-11e9-911c-2cec3f88a7cf.png)
According t…
-
```sql
SELECT uast_extract(
uast(blob_content, 'csharp', "(//csharp:BinaryExpression_AddExpression/Left/uast:String | //csharp:InterpolatedStringExpression//csharp:InterpolatedStringTextToken[1]…