ifc-expressions 2.3.0 → 3.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +255 -30
- package/dist/IfcExpression.d.ts +24 -26
- package/dist/IfcExpressionErrorListener.d.ts +3 -3
- package/dist/IfcExpressionOptions.d.ts +4 -0
- package/dist/autocomplete/CompletionItem.d.ts +24 -0
- package/dist/autocomplete/IfcExpressionAutocomplete.d.ts +11 -0
- package/dist/builtin/BuiltinRuntimeValueConverter.d.ts +7 -0
- package/dist/builtin/BuiltinVariableRegistry.d.ts +50 -0
- package/dist/cjs/IfcExpression.js +112 -37
- package/dist/cjs/IfcExpression.js.map +1 -1
- package/dist/cjs/IfcExpressionErrorListener.js +3 -8
- package/dist/cjs/IfcExpressionErrorListener.js.map +1 -1
- package/dist/cjs/IfcExpressionOptions.js +3 -0
- package/dist/cjs/IfcExpressionOptions.js.map +1 -0
- package/dist/cjs/autocomplete/CompletionItem.js +3 -0
- package/dist/cjs/autocomplete/CompletionItem.js.map +1 -0
- package/dist/cjs/autocomplete/IfcExpressionAutocomplete.js +654 -0
- package/dist/cjs/autocomplete/IfcExpressionAutocomplete.js.map +1 -0
- package/dist/cjs/builtin/BuiltinRuntimeValueConverter.js +124 -0
- package/dist/cjs/builtin/BuiltinRuntimeValueConverter.js.map +1 -0
- package/dist/cjs/builtin/BuiltinVariableRegistry.js +405 -0
- package/dist/cjs/builtin/BuiltinVariableRegistry.js.map +1 -0
- package/dist/cjs/compiler/ExprCompiler.js +44 -41
- package/dist/cjs/compiler/ExprCompiler.js.map +1 -1
- package/dist/cjs/compiler/ExprManager.js.map +1 -1
- package/dist/cjs/compiler/IfcExpressionValidationListener.js +85 -25
- package/dist/cjs/compiler/IfcExpressionValidationListener.js.map +1 -1
- package/dist/cjs/compiler/TypeManager.js.map +1 -1
- package/dist/cjs/context/IfcExpressionContext.js.map +1 -1
- package/dist/cjs/context/NopContext.js +3 -0
- package/dist/cjs/context/NopContext.js.map +1 -1
- package/dist/cjs/documentation/Documentation.js +11 -0
- package/dist/cjs/documentation/Documentation.js.map +1 -0
- package/dist/cjs/error/ExpressionTypeError.js.map +1 -1
- package/dist/cjs/error/IfcExpressionBuiltinConfigException.js +10 -0
- package/dist/cjs/error/IfcExpressionBuiltinConfigException.js.map +1 -0
- package/dist/cjs/error/InvalidSyntaxException.js.map +1 -1
- package/dist/cjs/error/NoSuchFunctionException.js.map +1 -1
- package/dist/cjs/error/NoSuchMemberException.js +13 -0
- package/dist/cjs/error/NoSuchMemberException.js.map +1 -0
- package/dist/cjs/error/ValidationException.js.map +1 -1
- package/dist/cjs/error/WrongFunctionArgumentTypeException.js.map +1 -1
- package/dist/cjs/expression/ExprKind.js +3 -0
- package/dist/cjs/expression/ExprKind.js.map +1 -1
- package/dist/cjs/expression/function/Func.js +18 -14
- package/dist/cjs/expression/function/Func.js.map +1 -1
- package/dist/cjs/expression/function/FuncArg.js +11 -5
- package/dist/cjs/expression/function/FuncArg.js.map +1 -1
- package/dist/cjs/expression/function/IfcExpressionFunctions.js +198 -42
- package/dist/cjs/expression/function/IfcExpressionFunctions.js.map +1 -1
- package/dist/cjs/expression/function/impl/CHOOSE.js.map +1 -1
- package/dist/cjs/expression/function/impl/IF.js.map +1 -1
- package/dist/cjs/expression/function/impl/MAP.js.map +1 -1
- package/dist/cjs/expression/function/impl/ReplacePattern.js +20 -2
- package/dist/cjs/expression/function/impl/ReplacePattern.js.map +1 -1
- package/dist/cjs/expression/reference/BuiltinFunctionCallExpr.js +59 -0
- package/dist/cjs/expression/reference/BuiltinFunctionCallExpr.js.map +1 -0
- package/dist/cjs/expression/reference/BuiltinPropertyAccessExpr.js +34 -0
- package/dist/cjs/expression/reference/BuiltinPropertyAccessExpr.js.map +1 -0
- package/dist/cjs/expression/reference/BuiltinRootReferenceExpr.js +29 -0
- package/dist/cjs/expression/reference/BuiltinRootReferenceExpr.js.map +1 -0
- package/dist/cjs/gen/parser/IfcExpressionLexer.js +126 -104
- package/dist/cjs/gen/parser/IfcExpressionLexer.js.map +1 -1
- package/dist/cjs/gen/parser/IfcExpressionListener.js +7 -4
- package/dist/cjs/gen/parser/IfcExpressionListener.js.map +1 -1
- package/dist/cjs/gen/parser/IfcExpressionParser.js +739 -682
- package/dist/cjs/gen/parser/IfcExpressionParser.js.map +1 -1
- package/dist/cjs/gen/parser/IfcExpressionVisitor.js +4 -4
- package/dist/cjs/gen/parser/IfcExpressionVisitor.js.map +1 -1
- package/dist/cjs/index.js +4 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/type/ContextObjectType.js +45 -0
- package/dist/cjs/type/ContextObjectType.js.map +1 -0
- package/dist/cjs/type/Types.js +4 -6
- package/dist/cjs/type/Types.js.map +1 -1
- package/dist/cjs/value/ContextObjectValue.js +23 -0
- package/dist/cjs/value/ContextObjectValue.js.map +1 -0
- package/dist/cjs/value/ExpressionValue.js.map +1 -1
- package/dist/cjs/value/Value.js.map +1 -1
- package/dist/compiler/ExprCompiler.d.ts +8 -3
- package/dist/compiler/ExprManager.d.ts +1 -1
- package/dist/compiler/IfcExpressionValidationListener.d.ts +9 -3
- package/dist/compiler/TypeManager.d.ts +1 -1
- package/dist/context/IfcExpressionContext.d.ts +3 -4
- package/dist/context/NopContext.d.ts +1 -0
- package/dist/documentation/Documentation.d.ts +12 -0
- package/dist/error/ExpressionTypeError.d.ts +1 -1
- package/dist/error/IfcExpressionBuiltinConfigException.d.ts +3 -0
- package/dist/error/InvalidSyntaxException.d.ts +1 -1
- package/dist/error/NoSuchFunctionException.d.ts +1 -1
- package/dist/error/NoSuchMemberException.d.ts +6 -0
- package/dist/error/ValidationException.d.ts +1 -1
- package/dist/error/WrongFunctionArgumentTypeException.d.ts +1 -1
- package/dist/expression/ExprKind.d.ts +3 -0
- package/dist/expression/function/Func.d.ts +7 -21
- package/dist/expression/function/FuncArg.d.ts +6 -5
- package/dist/expression/function/IfcExpressionFunctions.d.ts +1 -0
- package/dist/expression/function/impl/CHOOSE.d.ts +1 -1
- package/dist/expression/function/impl/IF.d.ts +1 -1
- package/dist/expression/function/impl/MAP.d.ts +1 -1
- package/dist/expression/reference/BuiltinFunctionCallExpr.d.ts +19 -0
- package/dist/expression/reference/BuiltinPropertyAccessExpr.d.ts +15 -0
- package/dist/expression/reference/BuiltinRootReferenceExpr.d.ts +14 -0
- package/dist/gen/parser/IfcExpressionLexer.d.ts +9 -8
- package/dist/gen/parser/IfcExpressionListener.d.ts +89 -59
- package/dist/gen/parser/IfcExpressionParser.d.ts +192 -169
- package/dist/gen/parser/IfcExpressionVisitor.d.ts +51 -35
- package/dist/index.d.ts +2 -2
- package/dist/mjs/IfcExpression.js +104 -32
- package/dist/mjs/IfcExpression.js.map +1 -1
- package/dist/mjs/IfcExpressionErrorListener.js +3 -8
- package/dist/mjs/IfcExpressionErrorListener.js.map +1 -1
- package/dist/mjs/IfcExpressionOptions.js +2 -0
- package/dist/mjs/IfcExpressionOptions.js.map +1 -0
- package/dist/mjs/autocomplete/CompletionItem.js +2 -0
- package/dist/mjs/autocomplete/CompletionItem.js.map +1 -0
- package/dist/mjs/autocomplete/IfcExpressionAutocomplete.js +650 -0
- package/dist/mjs/autocomplete/IfcExpressionAutocomplete.js.map +1 -0
- package/dist/mjs/builtin/BuiltinRuntimeValueConverter.js +117 -0
- package/dist/mjs/builtin/BuiltinRuntimeValueConverter.js.map +1 -0
- package/dist/mjs/builtin/BuiltinVariableRegistry.js +399 -0
- package/dist/mjs/builtin/BuiltinVariableRegistry.js.map +1 -0
- package/dist/mjs/compiler/ExprCompiler.js +43 -40
- package/dist/mjs/compiler/ExprCompiler.js.map +1 -1
- package/dist/mjs/compiler/ExprManager.js.map +1 -1
- package/dist/mjs/compiler/IfcExpressionValidationListener.js +85 -22
- package/dist/mjs/compiler/IfcExpressionValidationListener.js.map +1 -1
- package/dist/mjs/compiler/TypeManager.js.map +1 -1
- package/dist/mjs/context/IfcExpressionContext.js.map +1 -1
- package/dist/mjs/context/NopContext.js +3 -0
- package/dist/mjs/context/NopContext.js.map +1 -1
- package/dist/mjs/documentation/Documentation.js +7 -0
- package/dist/mjs/documentation/Documentation.js.map +1 -0
- package/dist/mjs/error/ExpressionTypeError.js.map +1 -1
- package/dist/mjs/error/IfcExpressionBuiltinConfigException.js +6 -0
- package/dist/mjs/error/IfcExpressionBuiltinConfigException.js.map +1 -0
- package/dist/mjs/error/InvalidSyntaxException.js.map +1 -1
- package/dist/mjs/error/NoSuchFunctionException.js.map +1 -1
- package/dist/mjs/error/NoSuchMemberException.js +9 -0
- package/dist/mjs/error/NoSuchMemberException.js.map +1 -0
- package/dist/mjs/error/ValidationException.js.map +1 -1
- package/dist/mjs/error/WrongFunctionArgumentTypeException.js.map +1 -1
- package/dist/mjs/expression/ExprKind.js +3 -0
- package/dist/mjs/expression/ExprKind.js.map +1 -1
- package/dist/mjs/expression/function/Func.js +18 -14
- package/dist/mjs/expression/function/Func.js.map +1 -1
- package/dist/mjs/expression/function/FuncArg.js +11 -5
- package/dist/mjs/expression/function/FuncArg.js.map +1 -1
- package/dist/mjs/expression/function/IfcExpressionFunctions.js +198 -42
- package/dist/mjs/expression/function/IfcExpressionFunctions.js.map +1 -1
- package/dist/mjs/expression/function/impl/CHOOSE.js.map +1 -1
- package/dist/mjs/expression/function/impl/IF.js.map +1 -1
- package/dist/mjs/expression/function/impl/MAP.js.map +1 -1
- package/dist/mjs/expression/function/impl/ReplacePattern.js +20 -2
- package/dist/mjs/expression/function/impl/ReplacePattern.js.map +1 -1
- package/dist/mjs/expression/reference/BuiltinFunctionCallExpr.js +55 -0
- package/dist/mjs/expression/reference/BuiltinFunctionCallExpr.js.map +1 -0
- package/dist/mjs/expression/reference/BuiltinPropertyAccessExpr.js +30 -0
- package/dist/mjs/expression/reference/BuiltinPropertyAccessExpr.js.map +1 -0
- package/dist/mjs/expression/reference/BuiltinRootReferenceExpr.js +25 -0
- package/dist/mjs/expression/reference/BuiltinRootReferenceExpr.js.map +1 -0
- package/dist/mjs/gen/parser/IfcExpressionLexer.js +101 -104
- package/dist/mjs/gen/parser/IfcExpressionLexer.js.map +1 -1
- package/dist/mjs/gen/parser/IfcExpressionListener.js +5 -3
- package/dist/mjs/gen/parser/IfcExpressionListener.js.map +1 -1
- package/dist/mjs/gen/parser/IfcExpressionParser.js +700 -670
- package/dist/mjs/gen/parser/IfcExpressionParser.js.map +1 -1
- package/dist/mjs/gen/parser/IfcExpressionVisitor.js +2 -3
- package/dist/mjs/gen/parser/IfcExpressionVisitor.js.map +1 -1
- package/dist/mjs/index.js +1 -1
- package/dist/mjs/index.js.map +1 -1
- package/dist/mjs/type/ContextObjectType.js +41 -0
- package/dist/mjs/type/ContextObjectType.js.map +1 -0
- package/dist/mjs/type/Types.js +4 -6
- package/dist/mjs/type/Types.js.map +1 -1
- package/dist/mjs/value/ContextObjectValue.js +19 -0
- package/dist/mjs/value/ContextObjectValue.js.map +1 -0
- package/dist/mjs/value/ExpressionValue.js.map +1 -1
- package/dist/mjs/value/Value.js.map +1 -1
- package/dist/type/ContextObjectType.d.ts +17 -0
- package/dist/type/Types.d.ts +2 -6
- package/dist/value/ContextObjectValue.d.ts +11 -0
- package/dist/value/ExpressionValue.d.ts +2 -1
- package/dist/value/Value.d.ts +1 -1
- package/package.json +5 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import * as antlr from "antlr4ng";
|
|
2
|
+
export declare class IfcExpressionLexer extends antlr.Lexer {
|
|
3
3
|
static readonly T__0 = 1;
|
|
4
4
|
static readonly T__1 = 2;
|
|
5
5
|
static readonly T__2 = 3;
|
|
@@ -24,13 +24,12 @@ export default class IfcExpressionLexer extends Lexer {
|
|
|
24
24
|
static readonly NEWLINE = 22;
|
|
25
25
|
static readonly BOOLEAN_BINARY_OP = 23;
|
|
26
26
|
static readonly CMP_OP = 24;
|
|
27
|
-
static readonly EOF: number;
|
|
28
27
|
static readonly channelNames: string[];
|
|
29
|
-
static readonly literalNames:
|
|
30
|
-
static readonly symbolicNames:
|
|
28
|
+
static readonly literalNames: string[];
|
|
29
|
+
static readonly symbolicNames: string[];
|
|
31
30
|
static readonly modeNames: string[];
|
|
32
31
|
static readonly ruleNames: string[];
|
|
33
|
-
constructor(input: CharStream);
|
|
32
|
+
constructor(input: antlr.CharStream);
|
|
34
33
|
get grammarFileName(): string;
|
|
35
34
|
get literalNames(): (string | null)[];
|
|
36
35
|
get symbolicNames(): (string | null)[];
|
|
@@ -40,6 +39,8 @@ export default class IfcExpressionLexer extends Lexer {
|
|
|
40
39
|
get modeNames(): string[];
|
|
41
40
|
static readonly _serializedATN: number[];
|
|
42
41
|
private static __ATN;
|
|
43
|
-
static get _ATN(): ATN;
|
|
44
|
-
static
|
|
42
|
+
static get _ATN(): antlr.ATN;
|
|
43
|
+
private static readonly vocabulary;
|
|
44
|
+
get vocabulary(): antlr.Vocabulary;
|
|
45
|
+
private static readonly decisionsToDFA;
|
|
45
46
|
}
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import { ParseTreeListener } from "
|
|
1
|
+
import { ErrorNode, ParseTreeListener, ParserRuleContext, TerminalNode } from "antlr4ng";
|
|
2
2
|
import { ExprContext } from "./IfcExpressionParser.js";
|
|
3
|
-
import {
|
|
4
|
-
import { SELiteralContext } from "./IfcExpressionParser.js";
|
|
3
|
+
import { SEUnaryMultipleMinusContext } from "./IfcExpressionParser.js";
|
|
5
4
|
import { SEParenthesisContext } from "./IfcExpressionParser.js";
|
|
6
|
-
import {
|
|
7
|
-
import { SEPowerContext } from "./IfcExpressionParser.js";
|
|
8
|
-
import { SEBooleanBinaryOpContext } from "./IfcExpressionParser.js";
|
|
9
|
-
import { SEFunctionCallContext } from "./IfcExpressionParser.js";
|
|
10
|
-
import { SEArrayExprContext } from "./IfcExpressionParser.js";
|
|
5
|
+
import { SEUnaryMinusContext } from "./IfcExpressionParser.js";
|
|
11
6
|
import { SENotContext } from "./IfcExpressionParser.js";
|
|
12
7
|
import { SEVariableRefContext } from "./IfcExpressionParser.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
8
|
+
import { SEFunctionCallContext } from "./IfcExpressionParser.js";
|
|
9
|
+
import { SELiteralContext } from "./IfcExpressionParser.js";
|
|
10
|
+
import { SEArrayExprContext } from "./IfcExpressionParser.js";
|
|
11
|
+
import { SEPowerContext } from "./IfcExpressionParser.js";
|
|
12
|
+
import { SEMulDivContext } from "./IfcExpressionParser.js";
|
|
15
13
|
import { SEAddSubContext } from "./IfcExpressionParser.js";
|
|
14
|
+
import { SEComparisonContext } from "./IfcExpressionParser.js";
|
|
15
|
+
import { SEBooleanBinaryOpContext } from "./IfcExpressionParser.js";
|
|
16
16
|
import { SEMethodCallContext } from "./IfcExpressionParser.js";
|
|
17
17
|
import { MethodCallChainInnerContext } from "./IfcExpressionParser.js";
|
|
18
18
|
import { MethodCallChainEndContext } from "./IfcExpressionParser.js";
|
|
19
|
+
import { MethodFunctionCallContext } from "./IfcExpressionParser.js";
|
|
20
|
+
import { MethodPropertyAccessContext } from "./IfcExpressionParser.js";
|
|
19
21
|
import { FunctionCallContext } from "./IfcExpressionParser.js";
|
|
20
22
|
import { ExprListContext } from "./IfcExpressionParser.js";
|
|
21
23
|
import { ArrayExprContext } from "./IfcExpressionParser.js";
|
|
@@ -30,7 +32,7 @@ import { VariableRefContext } from "./IfcExpressionParser.js";
|
|
|
30
32
|
* This interface defines a complete listener for a parse tree produced by
|
|
31
33
|
* `IfcExpressionParser`.
|
|
32
34
|
*/
|
|
33
|
-
export
|
|
35
|
+
export declare class IfcExpressionListener implements ParseTreeListener {
|
|
34
36
|
/**
|
|
35
37
|
* Enter a parse tree produced by `IfcExpressionParser.expr`.
|
|
36
38
|
* @param ctx the parse tree
|
|
@@ -42,29 +44,17 @@ export default class IfcExpressionListener extends ParseTreeListener {
|
|
|
42
44
|
*/
|
|
43
45
|
exitExpr?: (ctx: ExprContext) => void;
|
|
44
46
|
/**
|
|
45
|
-
* Enter a parse tree produced by the `
|
|
46
|
-
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
47
|
-
* @param ctx the parse tree
|
|
48
|
-
*/
|
|
49
|
-
enterSEComparison?: (ctx: SEComparisonContext) => void;
|
|
50
|
-
/**
|
|
51
|
-
* Exit a parse tree produced by the `SEComparison`
|
|
52
|
-
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
53
|
-
* @param ctx the parse tree
|
|
54
|
-
*/
|
|
55
|
-
exitSEComparison?: (ctx: SEComparisonContext) => void;
|
|
56
|
-
/**
|
|
57
|
-
* Enter a parse tree produced by the `SELiteral`
|
|
47
|
+
* Enter a parse tree produced by the `SEUnaryMultipleMinus`
|
|
58
48
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
59
49
|
* @param ctx the parse tree
|
|
60
50
|
*/
|
|
61
|
-
|
|
51
|
+
enterSEUnaryMultipleMinus?: (ctx: SEUnaryMultipleMinusContext) => void;
|
|
62
52
|
/**
|
|
63
|
-
* Exit a parse tree produced by the `
|
|
53
|
+
* Exit a parse tree produced by the `SEUnaryMultipleMinus`
|
|
64
54
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
65
55
|
* @param ctx the parse tree
|
|
66
56
|
*/
|
|
67
|
-
|
|
57
|
+
exitSEUnaryMultipleMinus?: (ctx: SEUnaryMultipleMinusContext) => void;
|
|
68
58
|
/**
|
|
69
59
|
* Enter a parse tree produced by the `SEParenthesis`
|
|
70
60
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
@@ -78,41 +68,41 @@ export default class IfcExpressionListener extends ParseTreeListener {
|
|
|
78
68
|
*/
|
|
79
69
|
exitSEParenthesis?: (ctx: SEParenthesisContext) => void;
|
|
80
70
|
/**
|
|
81
|
-
* Enter a parse tree produced by the `
|
|
71
|
+
* Enter a parse tree produced by the `SEUnaryMinus`
|
|
82
72
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
83
73
|
* @param ctx the parse tree
|
|
84
74
|
*/
|
|
85
|
-
|
|
75
|
+
enterSEUnaryMinus?: (ctx: SEUnaryMinusContext) => void;
|
|
86
76
|
/**
|
|
87
|
-
* Exit a parse tree produced by the `
|
|
77
|
+
* Exit a parse tree produced by the `SEUnaryMinus`
|
|
88
78
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
89
79
|
* @param ctx the parse tree
|
|
90
80
|
*/
|
|
91
|
-
|
|
81
|
+
exitSEUnaryMinus?: (ctx: SEUnaryMinusContext) => void;
|
|
92
82
|
/**
|
|
93
|
-
* Enter a parse tree produced by the `
|
|
83
|
+
* Enter a parse tree produced by the `SENot`
|
|
94
84
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
95
85
|
* @param ctx the parse tree
|
|
96
86
|
*/
|
|
97
|
-
|
|
87
|
+
enterSENot?: (ctx: SENotContext) => void;
|
|
98
88
|
/**
|
|
99
|
-
* Exit a parse tree produced by the `
|
|
89
|
+
* Exit a parse tree produced by the `SENot`
|
|
100
90
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
101
91
|
* @param ctx the parse tree
|
|
102
92
|
*/
|
|
103
|
-
|
|
93
|
+
exitSENot?: (ctx: SENotContext) => void;
|
|
104
94
|
/**
|
|
105
|
-
* Enter a parse tree produced by the `
|
|
95
|
+
* Enter a parse tree produced by the `SEVariableRef`
|
|
106
96
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
107
97
|
* @param ctx the parse tree
|
|
108
98
|
*/
|
|
109
|
-
|
|
99
|
+
enterSEVariableRef?: (ctx: SEVariableRefContext) => void;
|
|
110
100
|
/**
|
|
111
|
-
* Exit a parse tree produced by the `
|
|
101
|
+
* Exit a parse tree produced by the `SEVariableRef`
|
|
112
102
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
113
103
|
* @param ctx the parse tree
|
|
114
104
|
*/
|
|
115
|
-
|
|
105
|
+
exitSEVariableRef?: (ctx: SEVariableRefContext) => void;
|
|
116
106
|
/**
|
|
117
107
|
* Enter a parse tree produced by the `SEFunctionCall`
|
|
118
108
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
@@ -125,6 +115,18 @@ export default class IfcExpressionListener extends ParseTreeListener {
|
|
|
125
115
|
* @param ctx the parse tree
|
|
126
116
|
*/
|
|
127
117
|
exitSEFunctionCall?: (ctx: SEFunctionCallContext) => void;
|
|
118
|
+
/**
|
|
119
|
+
* Enter a parse tree produced by the `SELiteral`
|
|
120
|
+
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
121
|
+
* @param ctx the parse tree
|
|
122
|
+
*/
|
|
123
|
+
enterSELiteral?: (ctx: SELiteralContext) => void;
|
|
124
|
+
/**
|
|
125
|
+
* Exit a parse tree produced by the `SELiteral`
|
|
126
|
+
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
127
|
+
* @param ctx the parse tree
|
|
128
|
+
*/
|
|
129
|
+
exitSELiteral?: (ctx: SELiteralContext) => void;
|
|
128
130
|
/**
|
|
129
131
|
* Enter a parse tree produced by the `SEArrayExpr`
|
|
130
132
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
@@ -138,65 +140,65 @@ export default class IfcExpressionListener extends ParseTreeListener {
|
|
|
138
140
|
*/
|
|
139
141
|
exitSEArrayExpr?: (ctx: SEArrayExprContext) => void;
|
|
140
142
|
/**
|
|
141
|
-
* Enter a parse tree produced by the `
|
|
143
|
+
* Enter a parse tree produced by the `SEPower`
|
|
142
144
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
143
145
|
* @param ctx the parse tree
|
|
144
146
|
*/
|
|
145
|
-
|
|
147
|
+
enterSEPower?: (ctx: SEPowerContext) => void;
|
|
146
148
|
/**
|
|
147
|
-
* Exit a parse tree produced by the `
|
|
149
|
+
* Exit a parse tree produced by the `SEPower`
|
|
148
150
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
149
151
|
* @param ctx the parse tree
|
|
150
152
|
*/
|
|
151
|
-
|
|
153
|
+
exitSEPower?: (ctx: SEPowerContext) => void;
|
|
152
154
|
/**
|
|
153
|
-
* Enter a parse tree produced by the `
|
|
155
|
+
* Enter a parse tree produced by the `SEMulDiv`
|
|
154
156
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
155
157
|
* @param ctx the parse tree
|
|
156
158
|
*/
|
|
157
|
-
|
|
159
|
+
enterSEMulDiv?: (ctx: SEMulDivContext) => void;
|
|
158
160
|
/**
|
|
159
|
-
* Exit a parse tree produced by the `
|
|
161
|
+
* Exit a parse tree produced by the `SEMulDiv`
|
|
160
162
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
161
163
|
* @param ctx the parse tree
|
|
162
164
|
*/
|
|
163
|
-
|
|
165
|
+
exitSEMulDiv?: (ctx: SEMulDivContext) => void;
|
|
164
166
|
/**
|
|
165
|
-
* Enter a parse tree produced by the `
|
|
167
|
+
* Enter a parse tree produced by the `SEAddSub`
|
|
166
168
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
167
169
|
* @param ctx the parse tree
|
|
168
170
|
*/
|
|
169
|
-
|
|
171
|
+
enterSEAddSub?: (ctx: SEAddSubContext) => void;
|
|
170
172
|
/**
|
|
171
|
-
* Exit a parse tree produced by the `
|
|
173
|
+
* Exit a parse tree produced by the `SEAddSub`
|
|
172
174
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
173
175
|
* @param ctx the parse tree
|
|
174
176
|
*/
|
|
175
|
-
|
|
177
|
+
exitSEAddSub?: (ctx: SEAddSubContext) => void;
|
|
176
178
|
/**
|
|
177
|
-
* Enter a parse tree produced by the `
|
|
179
|
+
* Enter a parse tree produced by the `SEComparison`
|
|
178
180
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
179
181
|
* @param ctx the parse tree
|
|
180
182
|
*/
|
|
181
|
-
|
|
183
|
+
enterSEComparison?: (ctx: SEComparisonContext) => void;
|
|
182
184
|
/**
|
|
183
|
-
* Exit a parse tree produced by the `
|
|
185
|
+
* Exit a parse tree produced by the `SEComparison`
|
|
184
186
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
185
187
|
* @param ctx the parse tree
|
|
186
188
|
*/
|
|
187
|
-
|
|
189
|
+
exitSEComparison?: (ctx: SEComparisonContext) => void;
|
|
188
190
|
/**
|
|
189
|
-
* Enter a parse tree produced by the `
|
|
191
|
+
* Enter a parse tree produced by the `SEBooleanBinaryOp`
|
|
190
192
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
191
193
|
* @param ctx the parse tree
|
|
192
194
|
*/
|
|
193
|
-
|
|
195
|
+
enterSEBooleanBinaryOp?: (ctx: SEBooleanBinaryOpContext) => void;
|
|
194
196
|
/**
|
|
195
|
-
* Exit a parse tree produced by the `
|
|
197
|
+
* Exit a parse tree produced by the `SEBooleanBinaryOp`
|
|
196
198
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
197
199
|
* @param ctx the parse tree
|
|
198
200
|
*/
|
|
199
|
-
|
|
201
|
+
exitSEBooleanBinaryOp?: (ctx: SEBooleanBinaryOpContext) => void;
|
|
200
202
|
/**
|
|
201
203
|
* Enter a parse tree produced by the `SEMethodCall`
|
|
202
204
|
* labeled alternative in `IfcExpressionParser.singleExpr`.
|
|
@@ -233,6 +235,30 @@ export default class IfcExpressionListener extends ParseTreeListener {
|
|
|
233
235
|
* @param ctx the parse tree
|
|
234
236
|
*/
|
|
235
237
|
exitMethodCallChainEnd?: (ctx: MethodCallChainEndContext) => void;
|
|
238
|
+
/**
|
|
239
|
+
* Enter a parse tree produced by the `MethodFunctionCall`
|
|
240
|
+
* labeled alternative in `IfcExpressionParser.methodAccessor`.
|
|
241
|
+
* @param ctx the parse tree
|
|
242
|
+
*/
|
|
243
|
+
enterMethodFunctionCall?: (ctx: MethodFunctionCallContext) => void;
|
|
244
|
+
/**
|
|
245
|
+
* Exit a parse tree produced by the `MethodFunctionCall`
|
|
246
|
+
* labeled alternative in `IfcExpressionParser.methodAccessor`.
|
|
247
|
+
* @param ctx the parse tree
|
|
248
|
+
*/
|
|
249
|
+
exitMethodFunctionCall?: (ctx: MethodFunctionCallContext) => void;
|
|
250
|
+
/**
|
|
251
|
+
* Enter a parse tree produced by the `MethodPropertyAccess`
|
|
252
|
+
* labeled alternative in `IfcExpressionParser.methodAccessor`.
|
|
253
|
+
* @param ctx the parse tree
|
|
254
|
+
*/
|
|
255
|
+
enterMethodPropertyAccess?: (ctx: MethodPropertyAccessContext) => void;
|
|
256
|
+
/**
|
|
257
|
+
* Exit a parse tree produced by the `MethodPropertyAccess`
|
|
258
|
+
* labeled alternative in `IfcExpressionParser.methodAccessor`.
|
|
259
|
+
* @param ctx the parse tree
|
|
260
|
+
*/
|
|
261
|
+
exitMethodPropertyAccess?: (ctx: MethodPropertyAccessContext) => void;
|
|
236
262
|
/**
|
|
237
263
|
* Enter a parse tree produced by `IfcExpressionParser.functionCall`.
|
|
238
264
|
* @param ctx the parse tree
|
|
@@ -333,4 +359,8 @@ export default class IfcExpressionListener extends ParseTreeListener {
|
|
|
333
359
|
* @param ctx the parse tree
|
|
334
360
|
*/
|
|
335
361
|
exitVariableRef?: (ctx: VariableRefContext) => void;
|
|
362
|
+
visitTerminal(node: TerminalNode): void;
|
|
363
|
+
visitErrorNode(node: ErrorNode): void;
|
|
364
|
+
enterEveryRule(node: ParserRuleContext): void;
|
|
365
|
+
exitEveryRule(node: ParserRuleContext): void;
|
|
336
366
|
}
|