ifc-expressions
Advanced tools
Comparing version 2.0.1-beta.1 to 2.0.1-beta.2
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.IfcExpression = exports.IfcExpressionParseResult = exports.isExprEvalSuccess = exports.isExprEvalError = exports.isNullish = exports.isPresent = exports.IfcExpressionVisitor = exports.IfcExpressionErrorListener = exports.IfcExpressionEvaluationException = exports.ExprKind = exports.ExprCompiler = exports.NamedObjectAccessor = exports.IfcTypeObjectAccessor = exports.IfcRootObjectAccessor = exports.IfcPropertyAccessor = exports.IfcPropertySetAccessor = exports.ReferenceValue = exports.NumericValue = exports.LogicalValue = exports.BooleanValue = exports.StringValue = exports.IfcElementAccessor = void 0; | ||
exports.IfcExpression = exports.IfcExpressionParseResult = exports.ExprToTextInputLinker = exports.isExprEvalSuccess = exports.isExprEvalError = exports.isNullish = exports.isPresent = exports.IfcExpressionVisitor = exports.IfcExpressionErrorListener = exports.IfcExpressionEvaluationException = exports.ExprKind = exports.ExprCompiler = exports.NamedObjectAccessor = exports.IfcTypeObjectAccessor = exports.IfcRootObjectAccessor = exports.IfcPropertyAccessor = exports.IfcPropertySetAccessor = exports.ReferenceValue = exports.NumericValue = exports.LogicalValue = exports.BooleanValue = exports.StringValue = exports.IfcElementAccessor = void 0; | ||
const antlr4_1 = require("antlr4"); | ||
@@ -54,2 +54,3 @@ const ExprCompiler_js_1 = require("./compiler/ExprCompiler.js"); | ||
const ExprToTextInputLinker_1 = require("./compiler/ExprToTextInputLinker"); | ||
Object.defineProperty(exports, "ExprToTextInputLinker", { enumerable: true, get: function () { return ExprToTextInputLinker_1.ExprToTextInputLinker; } }); | ||
class IfcExpressionParseResult { | ||
@@ -93,3 +94,4 @@ constructor(input, typeManager, exprContext) { | ||
parser.addErrorListener(myErrorListener); | ||
const expr = parser.expr(); | ||
let expr; | ||
expr = parser.expr(); | ||
const validationListener = new IfcExpressionValidationListener_js_1.IfcExpressionValidationListener(); | ||
@@ -96,0 +98,0 @@ if (!myErrorListener.isErrorOccurred()) { |
@@ -27,3 +27,4 @@ import { ErrorListener, ParserRuleContext, Token } from "antlr4"; | ||
import { TypeManager } from "./compiler/TypeManager.js"; | ||
export { IfcElementAccessor, IfcExpressionContext, Value, StringValue, BooleanValue, LogicalValue, NumericValue, ExpressionValue, ReferenceValue, IfcPropertySetAccessor, IfcPropertyAccessor, IfcRootObjectAccessor, IfcTypeObjectAccessor, NamedObjectAccessor, ObjectAccessor, Expr, ExprCompiler, ExprKind, IfcExpressionEvaluationException, IfcExpressionErrorListener, IfcExpressionVisitor, isPresent, isNullish, ExprEvalResult, ExprEvalError, isExprEvalError, isExprEvalSuccess, }; | ||
import { ExprToTextInputLinker } from "./compiler/ExprToTextInputLinker"; | ||
export { IfcElementAccessor, IfcExpressionContext, Value, StringValue, BooleanValue, LogicalValue, NumericValue, ExpressionValue, ReferenceValue, IfcPropertySetAccessor, IfcPropertyAccessor, IfcRootObjectAccessor, IfcTypeObjectAccessor, NamedObjectAccessor, ObjectAccessor, Expr, ExprCompiler, ExprKind, IfcExpressionEvaluationException, IfcExpressionErrorListener, IfcExpressionVisitor, isPresent, isNullish, ExprEvalResult, ExprEvalError, isExprEvalError, isExprEvalSuccess, ExprToTextInputLinker, }; | ||
export type { BoxedValueTypes }; | ||
@@ -30,0 +31,0 @@ export declare class IfcExpressionParseResult { |
@@ -27,3 +27,3 @@ import { CharStream, CommonTokenStream, ParseTreeWalker, } from "antlr4"; | ||
import { ExprToTextInputLinker } from "./compiler/ExprToTextInputLinker"; | ||
export { IfcElementAccessor, StringValue, BooleanValue, LogicalValue, NumericValue, ReferenceValue, IfcPropertySetAccessor, IfcPropertyAccessor, IfcRootObjectAccessor, IfcTypeObjectAccessor, NamedObjectAccessor, ExprCompiler, ExprKind, IfcExpressionEvaluationException, IfcExpressionErrorListener, IfcExpressionVisitor, isPresent, isNullish, isExprEvalError, isExprEvalSuccess, }; | ||
export { IfcElementAccessor, StringValue, BooleanValue, LogicalValue, NumericValue, ReferenceValue, IfcPropertySetAccessor, IfcPropertyAccessor, IfcRootObjectAccessor, IfcTypeObjectAccessor, NamedObjectAccessor, ExprCompiler, ExprKind, IfcExpressionEvaluationException, IfcExpressionErrorListener, IfcExpressionVisitor, isPresent, isNullish, isExprEvalError, isExprEvalSuccess, ExprToTextInputLinker, }; | ||
export class IfcExpressionParseResult { | ||
@@ -66,3 +66,4 @@ constructor(input, typeManager, exprContext) { | ||
parser.addErrorListener(myErrorListener); | ||
const expr = parser.expr(); | ||
let expr; | ||
expr = parser.expr(); | ||
const validationListener = new IfcExpressionValidationListener(); | ||
@@ -69,0 +70,0 @@ if (!myErrorListener.isErrorOccurred()) { |
{ | ||
"name": "ifc-expressions", | ||
"version": "2.0.1-beta.1", | ||
"version": "2.0.1-beta.2", | ||
"description": "Parsing and evaluation of IFC expressions", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/IfcExpression.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1710316
14864