@zenstackhq/language
Advanced tools
Comparing version 1.0.0-alpha.85 to 1.0.0-alpha.86
@@ -14,2 +14,3 @@ import { AbstractDeclaration, ExpressionType, BinaryExpr } from './generated/ast'; | ||
array?: boolean; | ||
nullable?: boolean; | ||
}; | ||
@@ -16,0 +17,0 @@ export declare const BinaryExprOperatorPriority: Record<BinaryExpr['operator'], number>; |
@@ -31,7 +31,8 @@ "use strict"; | ||
'<=': 3, | ||
in: 4, | ||
//CollectionPredicateExpr | ||
'^': 4, | ||
'?': 4, | ||
'!': 4, | ||
'^': 5, | ||
'?': 5, | ||
'!': 5, | ||
}; | ||
//# sourceMappingURL=ast.js.map |
@@ -88,3 +88,3 @@ /****************************************************************************** | ||
left: Expression; | ||
operator: '!' | '!=' | '&&' | '<' | '<=' | '==' | '>' | '>=' | '?' | '^' | '||'; | ||
operator: '!' | '!=' | '&&' | '<' | '<=' | '==' | '>' | '>=' | '?' | '^' | 'in' | '||'; | ||
right: Expression; | ||
@@ -197,2 +197,3 @@ } | ||
name: string; | ||
optional: boolean; | ||
type: FunctionParamType; | ||
@@ -199,0 +200,0 @@ } |
@@ -395,2 +395,10 @@ "use strict"; | ||
} | ||
case 'FunctionParam': { | ||
return { | ||
name: 'FunctionParam', | ||
mandatory: [ | ||
{ name: 'optional', type: 'boolean' } | ||
] | ||
}; | ||
} | ||
case 'FunctionParamType': { | ||
@@ -397,0 +405,0 @@ return { |
{ | ||
"name": "@zenstackhq/language", | ||
"version": "1.0.0-alpha.85", | ||
"version": "1.0.0-alpha.86", | ||
"displayName": "ZenStack modeling language compiler", | ||
@@ -5,0 +5,0 @@ "description": "ZenStack modeling language compiler", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
136973
4157