Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

~ migrate ShExJ to top-level ShapeDecls #2

Merged
merged 3 commits into from
Aug 19, 2022
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
14,879 changes: 7,011 additions & 7,868 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"scripts": {
"test": "cd packages/core && npm run test"
},
"devDependencies": {
},
"repository": {
"type": "git",
"url": "git+https://github.com/shexSpec/ShapePath.js.git"
Expand Down
10 changes: 8 additions & 2 deletions packages/core/dist/ShapePathAst.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** ShapePath types
*/
import * as ShExJ from 'shexj';
export declare type SchemaNode = ShExJ.Schema | ShExJ.shapeExpr | ShExJ.ShapeOr | ShExJ.ShapeAnd | ShExJ.ShapeNot | ShExJ.ShapeExternal | ShExJ.shapeExprRef | ShExJ.shapeExprLabel | ShExJ.NodeConstraint | ShExJ.xsFacet | ShExJ.stringFacet | ShExJ.numericFacet | ShExJ.numericLiteral | ShExJ.valueSetValue | ShExJ.objectValue | ShExJ.ObjectLiteral | ShExJ.IriStem | ShExJ.IriStemRange | ShExJ.LiteralStem | ShExJ.LiteralStemRange | ShExJ.Language | ShExJ.LanguageStem | ShExJ.LanguageStemRange | ShExJ.Wildcard | ShExJ.Shape | ShExJ.tripleExpr | ShExJ.tripleExprBase | ShExJ.EachOf | ShExJ.OneOf | ShExJ.TripleConstraint | ShExJ.tripleExprRef | ShExJ.tripleExprLabel | ShExJ.SemAct | ShExJ.Annotation | ShExJ.IRIREF | ShExJ.BNODE | ShExJ.INTEGER | ShExJ.STRING | ShExJ.DECIMAL | ShExJ.DOUBLE | ShExJ.LANGTAG | ShExJ.BOOL | ShExJ.IRI;
export declare type SchemaNode = ShExJ.Schema | ShExJ.ShapeDecl | ShExJ.shapeExpr | ShExJ.ShapeOr | ShExJ.ShapeAnd | ShExJ.ShapeNot | ShExJ.ShapeExternal | ShExJ.shapeExprRef | ShExJ.shapeExprLabel | ShExJ.NodeConstraint | ShExJ.xsFacet | ShExJ.stringFacet | ShExJ.numericFacet | ShExJ.numericLiteral | ShExJ.valueSetValue | ShExJ.objectValue | ShExJ.ObjectLiteral | ShExJ.IriStem | ShExJ.IriStemRange | ShExJ.LiteralStem | ShExJ.LiteralStemRange | ShExJ.Language | ShExJ.LanguageStem | ShExJ.LanguageStemRange | ShExJ.Wildcard | ShExJ.Shape | ShExJ.tripleExpr | ShExJ.tripleExprBase | ShExJ.EachOf | ShExJ.OneOf | ShExJ.TripleConstraint | ShExJ.tripleExprRef | ShExJ.tripleExprLabel | ShExJ.SemAct | ShExJ.Annotation | ShExJ.IRIREF | ShExJ.BNODE | ShExJ.INTEGER | ShExJ.STRING | ShExJ.DECIMAL | ShExJ.DOUBLE | ShExJ.LANGTAG | ShExJ.BOOL | ShExJ.IRI;
export declare type NodeSet = Array<SchemaNode>;
export declare abstract class Serializable {
abstract t: string;
Expand Down Expand Up @@ -99,10 +99,16 @@ export declare class Assertion extends Function {
}
export declare enum t_termType {
Schema = "Schema",
ShapeDecl = "ShapeDecl",
SemAct = "SemAct",
Annotation = "Annotation"
}
export declare type termType = t_termType | shapeExprType | tripleExprType | valueType;
export declare enum t_shapeDeclAttr {
abstract = "abstract",
shapeExpr = "shapeExpr"
}
export declare type shapeDeclAttr = t_shapeDeclAttr;
export declare enum t_shapeExprType {
ShapeAnd = "ShapeAnd",
ShapeOr = "ShapeOr",
Expand Down Expand Up @@ -137,7 +143,7 @@ export declare enum t_attribute {
annotations = "annotations",
predicate = "predicate"
}
export declare type Attribute = t_attribute | schemaAttr | shapeExprAttr | tripleExprAttr | valueSetValueAttr | semActAttr | annotationAttr;
export declare type Attribute = t_attribute | schemaAttr | shapeDeclAttr | shapeExprAttr | tripleExprAttr | valueSetValueAttr | semActAttr | annotationAttr;
export declare enum t_schemaAttr {
atContext = "@context",
startActs = "startActs",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/dist/ShapePathAst.d.ts.map

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

Loading