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.
Files changed (185) hide show
  1. package/README.md +255 -30
  2. package/dist/IfcExpression.d.ts +24 -26
  3. package/dist/IfcExpressionErrorListener.d.ts +3 -3
  4. package/dist/IfcExpressionOptions.d.ts +4 -0
  5. package/dist/autocomplete/CompletionItem.d.ts +24 -0
  6. package/dist/autocomplete/IfcExpressionAutocomplete.d.ts +11 -0
  7. package/dist/builtin/BuiltinRuntimeValueConverter.d.ts +7 -0
  8. package/dist/builtin/BuiltinVariableRegistry.d.ts +50 -0
  9. package/dist/cjs/IfcExpression.js +112 -37
  10. package/dist/cjs/IfcExpression.js.map +1 -1
  11. package/dist/cjs/IfcExpressionErrorListener.js +3 -8
  12. package/dist/cjs/IfcExpressionErrorListener.js.map +1 -1
  13. package/dist/cjs/IfcExpressionOptions.js +3 -0
  14. package/dist/cjs/IfcExpressionOptions.js.map +1 -0
  15. package/dist/cjs/autocomplete/CompletionItem.js +3 -0
  16. package/dist/cjs/autocomplete/CompletionItem.js.map +1 -0
  17. package/dist/cjs/autocomplete/IfcExpressionAutocomplete.js +654 -0
  18. package/dist/cjs/autocomplete/IfcExpressionAutocomplete.js.map +1 -0
  19. package/dist/cjs/builtin/BuiltinRuntimeValueConverter.js +124 -0
  20. package/dist/cjs/builtin/BuiltinRuntimeValueConverter.js.map +1 -0
  21. package/dist/cjs/builtin/BuiltinVariableRegistry.js +405 -0
  22. package/dist/cjs/builtin/BuiltinVariableRegistry.js.map +1 -0
  23. package/dist/cjs/compiler/ExprCompiler.js +44 -41
  24. package/dist/cjs/compiler/ExprCompiler.js.map +1 -1
  25. package/dist/cjs/compiler/ExprManager.js.map +1 -1
  26. package/dist/cjs/compiler/IfcExpressionValidationListener.js +85 -25
  27. package/dist/cjs/compiler/IfcExpressionValidationListener.js.map +1 -1
  28. package/dist/cjs/compiler/TypeManager.js.map +1 -1
  29. package/dist/cjs/context/IfcExpressionContext.js.map +1 -1
  30. package/dist/cjs/context/NopContext.js +3 -0
  31. package/dist/cjs/context/NopContext.js.map +1 -1
  32. package/dist/cjs/documentation/Documentation.js +11 -0
  33. package/dist/cjs/documentation/Documentation.js.map +1 -0
  34. package/dist/cjs/error/ExpressionTypeError.js.map +1 -1
  35. package/dist/cjs/error/IfcExpressionBuiltinConfigException.js +10 -0
  36. package/dist/cjs/error/IfcExpressionBuiltinConfigException.js.map +1 -0
  37. package/dist/cjs/error/InvalidSyntaxException.js.map +1 -1
  38. package/dist/cjs/error/NoSuchFunctionException.js.map +1 -1
  39. package/dist/cjs/error/NoSuchMemberException.js +13 -0
  40. package/dist/cjs/error/NoSuchMemberException.js.map +1 -0
  41. package/dist/cjs/error/ValidationException.js.map +1 -1
  42. package/dist/cjs/error/WrongFunctionArgumentTypeException.js.map +1 -1
  43. package/dist/cjs/expression/ExprKind.js +3 -0
  44. package/dist/cjs/expression/ExprKind.js.map +1 -1
  45. package/dist/cjs/expression/function/Func.js +18 -14
  46. package/dist/cjs/expression/function/Func.js.map +1 -1
  47. package/dist/cjs/expression/function/FuncArg.js +11 -5
  48. package/dist/cjs/expression/function/FuncArg.js.map +1 -1
  49. package/dist/cjs/expression/function/IfcExpressionFunctions.js +198 -42
  50. package/dist/cjs/expression/function/IfcExpressionFunctions.js.map +1 -1
  51. package/dist/cjs/expression/function/impl/CHOOSE.js.map +1 -1
  52. package/dist/cjs/expression/function/impl/IF.js.map +1 -1
  53. package/dist/cjs/expression/function/impl/MAP.js.map +1 -1
  54. package/dist/cjs/expression/function/impl/ReplacePattern.js +20 -2
  55. package/dist/cjs/expression/function/impl/ReplacePattern.js.map +1 -1
  56. package/dist/cjs/expression/reference/BuiltinFunctionCallExpr.js +59 -0
  57. package/dist/cjs/expression/reference/BuiltinFunctionCallExpr.js.map +1 -0
  58. package/dist/cjs/expression/reference/BuiltinPropertyAccessExpr.js +34 -0
  59. package/dist/cjs/expression/reference/BuiltinPropertyAccessExpr.js.map +1 -0
  60. package/dist/cjs/expression/reference/BuiltinRootReferenceExpr.js +29 -0
  61. package/dist/cjs/expression/reference/BuiltinRootReferenceExpr.js.map +1 -0
  62. package/dist/cjs/gen/parser/IfcExpressionLexer.js +126 -104
  63. package/dist/cjs/gen/parser/IfcExpressionLexer.js.map +1 -1
  64. package/dist/cjs/gen/parser/IfcExpressionListener.js +7 -4
  65. package/dist/cjs/gen/parser/IfcExpressionListener.js.map +1 -1
  66. package/dist/cjs/gen/parser/IfcExpressionParser.js +739 -682
  67. package/dist/cjs/gen/parser/IfcExpressionParser.js.map +1 -1
  68. package/dist/cjs/gen/parser/IfcExpressionVisitor.js +4 -4
  69. package/dist/cjs/gen/parser/IfcExpressionVisitor.js.map +1 -1
  70. package/dist/cjs/index.js +4 -1
  71. package/dist/cjs/index.js.map +1 -1
  72. package/dist/cjs/type/ContextObjectType.js +45 -0
  73. package/dist/cjs/type/ContextObjectType.js.map +1 -0
  74. package/dist/cjs/type/Types.js +4 -6
  75. package/dist/cjs/type/Types.js.map +1 -1
  76. package/dist/cjs/value/ContextObjectValue.js +23 -0
  77. package/dist/cjs/value/ContextObjectValue.js.map +1 -0
  78. package/dist/cjs/value/ExpressionValue.js.map +1 -1
  79. package/dist/cjs/value/Value.js.map +1 -1
  80. package/dist/compiler/ExprCompiler.d.ts +8 -3
  81. package/dist/compiler/ExprManager.d.ts +1 -1
  82. package/dist/compiler/IfcExpressionValidationListener.d.ts +9 -3
  83. package/dist/compiler/TypeManager.d.ts +1 -1
  84. package/dist/context/IfcExpressionContext.d.ts +3 -4
  85. package/dist/context/NopContext.d.ts +1 -0
  86. package/dist/documentation/Documentation.d.ts +12 -0
  87. package/dist/error/ExpressionTypeError.d.ts +1 -1
  88. package/dist/error/IfcExpressionBuiltinConfigException.d.ts +3 -0
  89. package/dist/error/InvalidSyntaxException.d.ts +1 -1
  90. package/dist/error/NoSuchFunctionException.d.ts +1 -1
  91. package/dist/error/NoSuchMemberException.d.ts +6 -0
  92. package/dist/error/ValidationException.d.ts +1 -1
  93. package/dist/error/WrongFunctionArgumentTypeException.d.ts +1 -1
  94. package/dist/expression/ExprKind.d.ts +3 -0
  95. package/dist/expression/function/Func.d.ts +7 -21
  96. package/dist/expression/function/FuncArg.d.ts +6 -5
  97. package/dist/expression/function/IfcExpressionFunctions.d.ts +1 -0
  98. package/dist/expression/function/impl/CHOOSE.d.ts +1 -1
  99. package/dist/expression/function/impl/IF.d.ts +1 -1
  100. package/dist/expression/function/impl/MAP.d.ts +1 -1
  101. package/dist/expression/reference/BuiltinFunctionCallExpr.d.ts +19 -0
  102. package/dist/expression/reference/BuiltinPropertyAccessExpr.d.ts +15 -0
  103. package/dist/expression/reference/BuiltinRootReferenceExpr.d.ts +14 -0
  104. package/dist/gen/parser/IfcExpressionLexer.d.ts +9 -8
  105. package/dist/gen/parser/IfcExpressionListener.d.ts +89 -59
  106. package/dist/gen/parser/IfcExpressionParser.d.ts +192 -169
  107. package/dist/gen/parser/IfcExpressionVisitor.d.ts +51 -35
  108. package/dist/index.d.ts +2 -2
  109. package/dist/mjs/IfcExpression.js +104 -32
  110. package/dist/mjs/IfcExpression.js.map +1 -1
  111. package/dist/mjs/IfcExpressionErrorListener.js +3 -8
  112. package/dist/mjs/IfcExpressionErrorListener.js.map +1 -1
  113. package/dist/mjs/IfcExpressionOptions.js +2 -0
  114. package/dist/mjs/IfcExpressionOptions.js.map +1 -0
  115. package/dist/mjs/autocomplete/CompletionItem.js +2 -0
  116. package/dist/mjs/autocomplete/CompletionItem.js.map +1 -0
  117. package/dist/mjs/autocomplete/IfcExpressionAutocomplete.js +650 -0
  118. package/dist/mjs/autocomplete/IfcExpressionAutocomplete.js.map +1 -0
  119. package/dist/mjs/builtin/BuiltinRuntimeValueConverter.js +117 -0
  120. package/dist/mjs/builtin/BuiltinRuntimeValueConverter.js.map +1 -0
  121. package/dist/mjs/builtin/BuiltinVariableRegistry.js +399 -0
  122. package/dist/mjs/builtin/BuiltinVariableRegistry.js.map +1 -0
  123. package/dist/mjs/compiler/ExprCompiler.js +43 -40
  124. package/dist/mjs/compiler/ExprCompiler.js.map +1 -1
  125. package/dist/mjs/compiler/ExprManager.js.map +1 -1
  126. package/dist/mjs/compiler/IfcExpressionValidationListener.js +85 -22
  127. package/dist/mjs/compiler/IfcExpressionValidationListener.js.map +1 -1
  128. package/dist/mjs/compiler/TypeManager.js.map +1 -1
  129. package/dist/mjs/context/IfcExpressionContext.js.map +1 -1
  130. package/dist/mjs/context/NopContext.js +3 -0
  131. package/dist/mjs/context/NopContext.js.map +1 -1
  132. package/dist/mjs/documentation/Documentation.js +7 -0
  133. package/dist/mjs/documentation/Documentation.js.map +1 -0
  134. package/dist/mjs/error/ExpressionTypeError.js.map +1 -1
  135. package/dist/mjs/error/IfcExpressionBuiltinConfigException.js +6 -0
  136. package/dist/mjs/error/IfcExpressionBuiltinConfigException.js.map +1 -0
  137. package/dist/mjs/error/InvalidSyntaxException.js.map +1 -1
  138. package/dist/mjs/error/NoSuchFunctionException.js.map +1 -1
  139. package/dist/mjs/error/NoSuchMemberException.js +9 -0
  140. package/dist/mjs/error/NoSuchMemberException.js.map +1 -0
  141. package/dist/mjs/error/ValidationException.js.map +1 -1
  142. package/dist/mjs/error/WrongFunctionArgumentTypeException.js.map +1 -1
  143. package/dist/mjs/expression/ExprKind.js +3 -0
  144. package/dist/mjs/expression/ExprKind.js.map +1 -1
  145. package/dist/mjs/expression/function/Func.js +18 -14
  146. package/dist/mjs/expression/function/Func.js.map +1 -1
  147. package/dist/mjs/expression/function/FuncArg.js +11 -5
  148. package/dist/mjs/expression/function/FuncArg.js.map +1 -1
  149. package/dist/mjs/expression/function/IfcExpressionFunctions.js +198 -42
  150. package/dist/mjs/expression/function/IfcExpressionFunctions.js.map +1 -1
  151. package/dist/mjs/expression/function/impl/CHOOSE.js.map +1 -1
  152. package/dist/mjs/expression/function/impl/IF.js.map +1 -1
  153. package/dist/mjs/expression/function/impl/MAP.js.map +1 -1
  154. package/dist/mjs/expression/function/impl/ReplacePattern.js +20 -2
  155. package/dist/mjs/expression/function/impl/ReplacePattern.js.map +1 -1
  156. package/dist/mjs/expression/reference/BuiltinFunctionCallExpr.js +55 -0
  157. package/dist/mjs/expression/reference/BuiltinFunctionCallExpr.js.map +1 -0
  158. package/dist/mjs/expression/reference/BuiltinPropertyAccessExpr.js +30 -0
  159. package/dist/mjs/expression/reference/BuiltinPropertyAccessExpr.js.map +1 -0
  160. package/dist/mjs/expression/reference/BuiltinRootReferenceExpr.js +25 -0
  161. package/dist/mjs/expression/reference/BuiltinRootReferenceExpr.js.map +1 -0
  162. package/dist/mjs/gen/parser/IfcExpressionLexer.js +101 -104
  163. package/dist/mjs/gen/parser/IfcExpressionLexer.js.map +1 -1
  164. package/dist/mjs/gen/parser/IfcExpressionListener.js +5 -3
  165. package/dist/mjs/gen/parser/IfcExpressionListener.js.map +1 -1
  166. package/dist/mjs/gen/parser/IfcExpressionParser.js +700 -670
  167. package/dist/mjs/gen/parser/IfcExpressionParser.js.map +1 -1
  168. package/dist/mjs/gen/parser/IfcExpressionVisitor.js +2 -3
  169. package/dist/mjs/gen/parser/IfcExpressionVisitor.js.map +1 -1
  170. package/dist/mjs/index.js +1 -1
  171. package/dist/mjs/index.js.map +1 -1
  172. package/dist/mjs/type/ContextObjectType.js +41 -0
  173. package/dist/mjs/type/ContextObjectType.js.map +1 -0
  174. package/dist/mjs/type/Types.js +4 -6
  175. package/dist/mjs/type/Types.js.map +1 -1
  176. package/dist/mjs/value/ContextObjectValue.js +19 -0
  177. package/dist/mjs/value/ContextObjectValue.js.map +1 -0
  178. package/dist/mjs/value/ExpressionValue.js.map +1 -1
  179. package/dist/mjs/value/Value.js.map +1 -1
  180. package/dist/type/ContextObjectType.d.ts +17 -0
  181. package/dist/type/Types.d.ts +2 -6
  182. package/dist/value/ContextObjectValue.d.ts +11 -0
  183. package/dist/value/ExpressionValue.d.ts +2 -1
  184. package/dist/value/Value.d.ts +1 -1
  185. package/package.json +5 -3
@@ -1,5 +1,5 @@
1
- import { ATN, CharStream, DFA, Lexer } from "antlr4";
2
- export default class IfcExpressionLexer extends Lexer {
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: (string | null)[];
30
- static readonly symbolicNames: (string | null)[];
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 DecisionsToDFA: DFA[];
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 "antlr4";
1
+ import { ErrorNode, ParseTreeListener, ParserRuleContext, TerminalNode } from "antlr4ng";
2
2
  import { ExprContext } from "./IfcExpressionParser.js";
3
- import { SEComparisonContext } from "./IfcExpressionParser.js";
4
- import { SELiteralContext } from "./IfcExpressionParser.js";
3
+ import { SEUnaryMultipleMinusContext } from "./IfcExpressionParser.js";
5
4
  import { SEParenthesisContext } from "./IfcExpressionParser.js";
6
- import { SEMulDivContext } from "./IfcExpressionParser.js";
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 { SEUnaryMultipleMinusContext } from "./IfcExpressionParser.js";
14
- import { SEUnaryMinusContext } from "./IfcExpressionParser.js";
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 default class IfcExpressionListener extends ParseTreeListener {
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 `SEComparison`
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
- enterSELiteral?: (ctx: SELiteralContext) => void;
51
+ enterSEUnaryMultipleMinus?: (ctx: SEUnaryMultipleMinusContext) => void;
62
52
  /**
63
- * Exit a parse tree produced by the `SELiteral`
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
- exitSELiteral?: (ctx: SELiteralContext) => void;
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 `SEMulDiv`
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
- enterSEMulDiv?: (ctx: SEMulDivContext) => void;
75
+ enterSEUnaryMinus?: (ctx: SEUnaryMinusContext) => void;
86
76
  /**
87
- * Exit a parse tree produced by the `SEMulDiv`
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
- exitSEMulDiv?: (ctx: SEMulDivContext) => void;
81
+ exitSEUnaryMinus?: (ctx: SEUnaryMinusContext) => void;
92
82
  /**
93
- * Enter a parse tree produced by the `SEPower`
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
- enterSEPower?: (ctx: SEPowerContext) => void;
87
+ enterSENot?: (ctx: SENotContext) => void;
98
88
  /**
99
- * Exit a parse tree produced by the `SEPower`
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
- exitSEPower?: (ctx: SEPowerContext) => void;
93
+ exitSENot?: (ctx: SENotContext) => void;
104
94
  /**
105
- * Enter a parse tree produced by the `SEBooleanBinaryOp`
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
- enterSEBooleanBinaryOp?: (ctx: SEBooleanBinaryOpContext) => void;
99
+ enterSEVariableRef?: (ctx: SEVariableRefContext) => void;
110
100
  /**
111
- * Exit a parse tree produced by the `SEBooleanBinaryOp`
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
- exitSEBooleanBinaryOp?: (ctx: SEBooleanBinaryOpContext) => void;
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 `SENot`
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
- enterSENot?: (ctx: SENotContext) => void;
147
+ enterSEPower?: (ctx: SEPowerContext) => void;
146
148
  /**
147
- * Exit a parse tree produced by the `SENot`
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
- exitSENot?: (ctx: SENotContext) => void;
153
+ exitSEPower?: (ctx: SEPowerContext) => void;
152
154
  /**
153
- * Enter a parse tree produced by the `SEVariableRef`
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
- enterSEVariableRef?: (ctx: SEVariableRefContext) => void;
159
+ enterSEMulDiv?: (ctx: SEMulDivContext) => void;
158
160
  /**
159
- * Exit a parse tree produced by the `SEVariableRef`
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
- exitSEVariableRef?: (ctx: SEVariableRefContext) => void;
165
+ exitSEMulDiv?: (ctx: SEMulDivContext) => void;
164
166
  /**
165
- * Enter a parse tree produced by the `SEUnaryMultipleMinus`
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
- enterSEUnaryMultipleMinus?: (ctx: SEUnaryMultipleMinusContext) => void;
171
+ enterSEAddSub?: (ctx: SEAddSubContext) => void;
170
172
  /**
171
- * Exit a parse tree produced by the `SEUnaryMultipleMinus`
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
- exitSEUnaryMultipleMinus?: (ctx: SEUnaryMultipleMinusContext) => void;
177
+ exitSEAddSub?: (ctx: SEAddSubContext) => void;
176
178
  /**
177
- * Enter a parse tree produced by the `SEUnaryMinus`
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
- enterSEUnaryMinus?: (ctx: SEUnaryMinusContext) => void;
183
+ enterSEComparison?: (ctx: SEComparisonContext) => void;
182
184
  /**
183
- * Exit a parse tree produced by the `SEUnaryMinus`
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
- exitSEUnaryMinus?: (ctx: SEUnaryMinusContext) => void;
189
+ exitSEComparison?: (ctx: SEComparisonContext) => void;
188
190
  /**
189
- * Enter a parse tree produced by the `SEAddSub`
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
- enterSEAddSub?: (ctx: SEAddSubContext) => void;
195
+ enterSEBooleanBinaryOp?: (ctx: SEBooleanBinaryOpContext) => void;
194
196
  /**
195
- * Exit a parse tree produced by the `SEAddSub`
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
- exitSEAddSub?: (ctx: SEAddSubContext) => void;
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
  }