This repository was archived by the owner on Sep 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
303 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
|
||
SELECT ?sw | ||
WHERE | ||
{ | ||
?sw rdf:type <http://www.emftext.org/java/statements#//Switch> . | ||
|
||
OPTIONAL { | ||
?sw <http://www.emftext.org/java/statements#//Switch/cases> ?sc . | ||
?sc rdf:type <http://www.emftext.org/java/statements#//DefaultSwitchCase> | ||
} | ||
FILTER (!BOUND(?sc)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
SELECT ?cb | ||
WHERE | ||
{ | ||
?cb <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> | ||
<http://www.emftext.org/java/statements#//CatchBlock> . | ||
?cb <http://www.emftext.org/java/statements#//CatchBlock/parameter> | ||
?cbParam . | ||
|
||
?io <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> | ||
<http://www.emftext.org/java/expressions#//InstanceOfExpression> . | ||
?io <http://www.emftext.org/java/expressions#//InstanceOfExpression/child> | ||
?ioChild . | ||
?ioChild <http://www.emftext.org/java/references#//ElementReference/target> | ||
?cbParam | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
PREFIX java: <https://www.java.com/> | ||
PREFIX xannotations: <http://www.emftext.org/java/annotations#/> | ||
PREFIX xarrays: <http://www.emftext.org/java/arrays#/> | ||
PREFIX xclassifiers: <http://www.emftext.org/java/classifiers#/> | ||
PREFIX xcommons: <http://www.emftext.org/java/commons#/> | ||
PREFIX xcontainers: <http://www.emftext.org/java/containers#/> | ||
PREFIX xexpressions: <http://www.emftext.org/java/expressions#/> | ||
PREFIX xgenerics: <http://www.emftext.org/java/generics#/> | ||
PREFIX ximports: <http://www.emftext.org/java/imports#/> | ||
PREFIX xinstantiations: <http://www.emftext.org/java/instantiations#/> | ||
PREFIX xliterals: <http://www.emftext.org/java/literals#/> | ||
PREFIX xmembers: <http://www.emftext.org/java/members#/> | ||
PREFIX xmodifiers: <http://www.emftext.org/java/modifiers#/> | ||
PREFIX xoperators: <http://www.emftext.org/java/operators#/> | ||
PREFIX xparameters: <http://www.emftext.org/java/parameters#/> | ||
PREFIX xreferences: <http://www.emftext.org/java/references#/> | ||
PREFIX xstatements: <http://www.emftext.org/java/statements#/> | ||
PREFIX xtypes: <http://www.emftext.org/java/types#/> | ||
PREFIX xvariables: <http://www.emftext.org/java/variables#/> | ||
|
||
PREFIX base: <http://www.semanticweb.org/ontologies/2011/1/TrainRequirementOntology.owl#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
|
||
SELECT ?addEx | ||
WHERE | ||
{ | ||
?addEx rdf:type <http://www.emftext.org/java/expressions#//AdditiveExpression> . | ||
?addEx <http://www.emftext.org/java/expressions#//AdditiveExpression/children> ?strRef . | ||
?strRef <http://www.emftext.org/java/references#//StringReference/value> ""^^<http://www.w3.org/2001/XMLSchema#string> . | ||
?addEx <http://www.emftext.org/java/expressions#//AdditiveExpression/additiveOperators> ?addOp . | ||
?addOp rdf:type <http://www.emftext.org/java/operators#//Addition> . | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX java: <http://www.emftext.org/java/> | ||
PREFIX commons: <http://www.emftext.org/commons/> | ||
|
||
SELECT ?methodCall | ||
WHERE | ||
{ | ||
?ref rdf:type <java:references#//Reference> . | ||
?ref <java:references#//Reference/next> ?methodCall . | ||
?ref <java:references#//ElementReference/target> ?var . | ||
?var rdf:type <java:variables#//Variable> . | ||
|
||
?eqLayout rdf:type <commons:layout#//ReferenceLayoutInformation> . | ||
?eqLayout <commons:layout#//LayoutInformation/visibleTokenText> | ||
"equals"^^<http://www.w3.org/2001/XMLSchema#string> . | ||
?eqLayout <commons:layout#//ReferenceLayoutInformation/object> ?eqEnumID . | ||
|
||
?methodCall rdf:type <java:references#//MethodCall> . | ||
?methodCall <java:references#//ElementReference/target> ?eqEnumID . | ||
?methodCall <java:references#//Argumentable/arguments> ?arg . | ||
?arg rdf:type <java:references#//StringReference> . | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
* | ||
|
||
!.gitignore | ||
|
||
!import-check.sh | ||
!transform.sh | ||
!transform-import-check.sh |
Oops, something went wrong.