ifc-expressions 0.2.1 → 0.2.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 (232) hide show
  1. package/dist/cjs/ExprVisitor.js +126 -0
  2. package/dist/cjs/ExprVisitor.js.map +1 -0
  3. package/dist/cjs/IfcExpression.js.map +1 -0
  4. package/dist/cjs/IfcExpressionErrorListener.js +23 -0
  5. package/dist/cjs/IfcExpressionErrorListener.js.map +1 -0
  6. package/dist/cjs/SyntaxErrorException.js +24 -0
  7. package/dist/cjs/SyntaxErrorException.js.map +1 -0
  8. package/dist/cjs/context/IfcElementAccessor.js +34 -0
  9. package/dist/cjs/context/IfcElementAccessor.js.map +1 -0
  10. package/dist/cjs/context/IfcExpressionContext.js +3 -0
  11. package/dist/cjs/context/IfcExpressionContext.js.map +1 -0
  12. package/dist/cjs/context/IfcPropertyAccessor.js +28 -0
  13. package/dist/cjs/context/IfcPropertyAccessor.js.map +1 -0
  14. package/dist/cjs/context/IfcPropertySetAccessor.js +17 -0
  15. package/dist/cjs/context/IfcPropertySetAccessor.js.map +1 -0
  16. package/dist/cjs/context/IfcRootObjectAccessor.js +19 -0
  17. package/dist/cjs/context/IfcRootObjectAccessor.js.map +1 -0
  18. package/dist/cjs/context/IfcTypeObjectAccessor.js +22 -0
  19. package/dist/cjs/context/IfcTypeObjectAccessor.js.map +1 -0
  20. package/dist/cjs/context/NamedObjectAccessor.js +26 -0
  21. package/dist/cjs/context/NamedObjectAccessor.js.map +1 -0
  22. package/dist/cjs/context/ObjectAccessor.js +3 -0
  23. package/dist/cjs/context/ObjectAccessor.js.map +1 -0
  24. package/dist/cjs/expression/ArrayExpr.js +3 -0
  25. package/dist/cjs/expression/ArrayExpr.js.map +1 -0
  26. package/dist/cjs/expression/Expr.js +3 -0
  27. package/dist/cjs/expression/Expr.js.map +1 -0
  28. package/dist/cjs/expression/Expr0.js +8 -0
  29. package/dist/cjs/expression/Expr0.js.map +1 -0
  30. package/dist/cjs/expression/Expr1.js +10 -0
  31. package/dist/cjs/expression/Expr1.js.map +1 -0
  32. package/dist/cjs/expression/Expr2.js +11 -0
  33. package/dist/cjs/expression/Expr2.js.map +1 -0
  34. package/dist/cjs/expression/IfcExpressionEvaluationException.js +10 -0
  35. package/dist/cjs/expression/IfcExpressionEvaluationException.js.map +1 -0
  36. package/dist/cjs/expression/numeric/DivideExpr.js +18 -0
  37. package/dist/cjs/expression/numeric/DivideExpr.js.map +1 -0
  38. package/dist/cjs/expression/numeric/MinusExpr.js +18 -0
  39. package/dist/cjs/expression/numeric/MinusExpr.js.map +1 -0
  40. package/dist/cjs/expression/numeric/MultiplyByExpr.js +18 -0
  41. package/dist/cjs/expression/numeric/MultiplyByExpr.js.map +1 -0
  42. package/dist/cjs/expression/numeric/MultiplyExpr.js +18 -0
  43. package/dist/cjs/expression/numeric/MultiplyExpr.js.map +1 -0
  44. package/dist/cjs/expression/numeric/NumParenthesisExpr.js +14 -0
  45. package/dist/cjs/expression/numeric/NumParenthesisExpr.js.map +1 -0
  46. package/dist/cjs/expression/numeric/NumericLiteralExpr.js +14 -0
  47. package/dist/cjs/expression/numeric/NumericLiteralExpr.js.map +1 -0
  48. package/dist/cjs/expression/numeric/PlusExpr.js +18 -0
  49. package/dist/cjs/expression/numeric/PlusExpr.js.map +1 -0
  50. package/dist/cjs/expression/reference/AttributeReferenceExpr.js +16 -0
  51. package/dist/cjs/expression/reference/AttributeReferenceExpr.js.map +1 -0
  52. package/dist/cjs/expression/reference/ElemObjectReferenceExpr.js +14 -0
  53. package/dist/cjs/expression/reference/ElemObjectReferenceExpr.js.map +1 -0
  54. package/dist/cjs/expression/reference/NestedObjectChainEndExpr.js +14 -0
  55. package/dist/cjs/expression/reference/NestedObjectChainEndExpr.js.map +1 -0
  56. package/dist/cjs/expression/reference/NestedObjectChainExpr.js +15 -0
  57. package/dist/cjs/expression/reference/NestedObjectChainExpr.js.map +1 -0
  58. package/dist/cjs/expression/reference/ObjectReferenceExpr.js +3 -0
  59. package/dist/cjs/expression/reference/ObjectReferenceExpr.js.map +1 -0
  60. package/dist/cjs/expression/reference/PropObjectReferenceExpr.js +14 -0
  61. package/dist/cjs/expression/reference/PropObjectReferenceExpr.js.map +1 -0
  62. package/dist/cjs/expression/string/StringConcatExpr.js +15 -0
  63. package/dist/cjs/expression/string/StringConcatExpr.js.map +1 -0
  64. package/dist/cjs/expression/string/StringLiteralExpr.js +14 -0
  65. package/dist/cjs/expression/string/StringLiteralExpr.js.map +1 -0
  66. package/dist/cjs/package.json +1 -0
  67. package/dist/cjs/parser/IfcExpressionLexer.js +140 -0
  68. package/dist/cjs/parser/IfcExpressionLexer.js.map +1 -0
  69. package/dist/cjs/parser/IfcExpressionListener.js +12 -0
  70. package/dist/cjs/parser/IfcExpressionListener.js.map +1 -0
  71. package/dist/cjs/parser/IfcExpressionParser.js +1514 -0
  72. package/dist/cjs/parser/IfcExpressionParser.js.map +1 -0
  73. package/dist/cjs/parser/IfcExpressionVisitor.js +15 -0
  74. package/dist/cjs/parser/IfcExpressionVisitor.js.map +1 -0
  75. package/dist/cjs/utils.js +12 -0
  76. package/dist/cjs/utils.js.map +1 -0
  77. package/dist/cjs/value/BooleanValue.js +14 -0
  78. package/dist/cjs/value/BooleanValue.js.map +1 -0
  79. package/dist/cjs/value/LiteralValue.js +3 -0
  80. package/dist/cjs/value/LiteralValue.js.map +1 -0
  81. package/dist/cjs/value/LiteralValueAnyArity.js +3 -0
  82. package/dist/cjs/value/LiteralValueAnyArity.js.map +1 -0
  83. package/dist/cjs/value/LogicalValue.js +14 -0
  84. package/dist/cjs/value/LogicalValue.js.map +1 -0
  85. package/dist/cjs/value/NumericValue.js +18 -0
  86. package/dist/cjs/value/NumericValue.js.map +1 -0
  87. package/dist/cjs/value/PrimitiveValueType.js +3 -0
  88. package/dist/cjs/value/PrimitiveValueType.js.map +1 -0
  89. package/dist/cjs/value/ReferenceValue.js +14 -0
  90. package/dist/cjs/value/ReferenceValue.js.map +1 -0
  91. package/dist/cjs/value/StringValue.js +14 -0
  92. package/dist/cjs/value/StringValue.js.map +1 -0
  93. package/dist/cjs/value/Value.js +13 -0
  94. package/dist/cjs/value/Value.js.map +1 -0
  95. package/dist/context/IfcElementAccessor.d.ts +18 -0
  96. package/dist/context/IfcExpressionContext.d.ts +6 -0
  97. package/dist/context/IfcPropertyAccessor.d.ts +12 -0
  98. package/dist/context/IfcPropertySetAccessor.d.ts +11 -0
  99. package/dist/context/IfcRootObjectAccessor.d.ts +7 -0
  100. package/dist/context/IfcTypeObjectAccessor.d.ts +13 -0
  101. package/dist/context/NamedObjectAccessor.d.ts +10 -0
  102. package/dist/context/ObjectAccessor.d.ts +16 -0
  103. package/dist/expression/ArrayExpr.d.ts +3 -0
  104. package/dist/expression/Expr.d.ts +4 -0
  105. package/dist/expression/Expr0.d.ts +6 -0
  106. package/dist/expression/Expr1.d.ts +7 -0
  107. package/dist/expression/Expr2.d.ts +8 -0
  108. package/dist/expression/IfcExpressionEvaluationException.d.ts +3 -0
  109. package/dist/expression/numeric/DivideExpr.d.ts +8 -0
  110. package/dist/expression/numeric/MinusExpr.d.ts +8 -0
  111. package/dist/expression/numeric/MultiplyByExpr.d.ts +8 -0
  112. package/dist/expression/numeric/MultiplyExpr.d.ts +8 -0
  113. package/dist/expression/numeric/NumParenthesisExpr.d.ts +8 -0
  114. package/dist/expression/numeric/NumericLiteralExpr.d.ts +7 -0
  115. package/dist/expression/numeric/PlusExpr.d.ts +8 -0
  116. package/dist/expression/reference/AttributeReferenceExpr.d.ts +9 -0
  117. package/dist/expression/reference/ElemObjectReferenceExpr.d.ts +8 -0
  118. package/dist/expression/reference/NestedObjectChainEndExpr.d.ts +8 -0
  119. package/dist/expression/reference/NestedObjectChainExpr.d.ts +9 -0
  120. package/dist/expression/reference/ObjectReferenceExpr.d.ts +4 -0
  121. package/dist/expression/reference/PropObjectReferenceExpr.d.ts +8 -0
  122. package/dist/expression/string/StringConcatExpr.d.ts +8 -0
  123. package/dist/expression/string/StringLiteralExpr.d.ts +7 -0
  124. package/dist/mjs/ExprVisitor.js +119 -0
  125. package/dist/mjs/ExprVisitor.js.map +1 -0
  126. package/dist/mjs/IfcExpression.js +48 -0
  127. package/dist/mjs/IfcExpression.js.map +1 -0
  128. package/dist/mjs/IfcExpressionErrorListener.js +19 -0
  129. package/dist/mjs/IfcExpressionErrorListener.js.map +1 -0
  130. package/dist/mjs/SyntaxErrorException.js +20 -0
  131. package/dist/mjs/SyntaxErrorException.js.map +1 -0
  132. package/dist/mjs/context/IfcElementAccessor.js +30 -0
  133. package/dist/mjs/context/IfcElementAccessor.js.map +1 -0
  134. package/dist/mjs/context/IfcExpressionContext.js +2 -0
  135. package/dist/mjs/context/IfcExpressionContext.js.map +1 -0
  136. package/dist/mjs/context/IfcPropertyAccessor.js +24 -0
  137. package/dist/mjs/context/IfcPropertyAccessor.js.map +1 -0
  138. package/dist/mjs/context/IfcPropertySetAccessor.js +13 -0
  139. package/dist/mjs/context/IfcPropertySetAccessor.js.map +1 -0
  140. package/dist/mjs/context/IfcRootObjectAccessor.js +15 -0
  141. package/dist/mjs/context/IfcRootObjectAccessor.js.map +1 -0
  142. package/dist/mjs/context/IfcTypeObjectAccessor.js +18 -0
  143. package/dist/mjs/context/IfcTypeObjectAccessor.js.map +1 -0
  144. package/dist/mjs/context/NamedObjectAccessor.js +22 -0
  145. package/dist/mjs/context/NamedObjectAccessor.js.map +1 -0
  146. package/dist/mjs/context/ObjectAccessor.js +2 -0
  147. package/dist/mjs/context/ObjectAccessor.js.map +1 -0
  148. package/dist/mjs/expression/ArrayExpr.js +2 -0
  149. package/dist/mjs/expression/ArrayExpr.js.map +1 -0
  150. package/dist/mjs/expression/Expr.js +2 -0
  151. package/dist/mjs/expression/Expr.js.map +1 -0
  152. package/dist/mjs/expression/Expr0.js +4 -0
  153. package/dist/mjs/expression/Expr0.js.map +1 -0
  154. package/dist/mjs/expression/Expr1.js +6 -0
  155. package/dist/mjs/expression/Expr1.js.map +1 -0
  156. package/dist/mjs/expression/Expr2.js +7 -0
  157. package/dist/mjs/expression/Expr2.js.map +1 -0
  158. package/dist/mjs/expression/IfcExpressionEvaluationException.js +6 -0
  159. package/dist/mjs/expression/IfcExpressionEvaluationException.js.map +1 -0
  160. package/dist/mjs/expression/numeric/DivideExpr.js +14 -0
  161. package/dist/mjs/expression/numeric/DivideExpr.js.map +1 -0
  162. package/dist/mjs/expression/numeric/MinusExpr.js +14 -0
  163. package/dist/mjs/expression/numeric/MinusExpr.js.map +1 -0
  164. package/dist/mjs/expression/numeric/MultiplyByExpr.js +14 -0
  165. package/dist/mjs/expression/numeric/MultiplyByExpr.js.map +1 -0
  166. package/dist/mjs/expression/numeric/MultiplyExpr.js +14 -0
  167. package/dist/mjs/expression/numeric/MultiplyExpr.js.map +1 -0
  168. package/dist/mjs/expression/numeric/NumParenthesisExpr.js +10 -0
  169. package/dist/mjs/expression/numeric/NumParenthesisExpr.js.map +1 -0
  170. package/dist/mjs/expression/numeric/NumericLiteralExpr.js +10 -0
  171. package/dist/mjs/expression/numeric/NumericLiteralExpr.js.map +1 -0
  172. package/dist/mjs/expression/numeric/PlusExpr.js +14 -0
  173. package/dist/mjs/expression/numeric/PlusExpr.js.map +1 -0
  174. package/dist/mjs/expression/reference/AttributeReferenceExpr.js +12 -0
  175. package/dist/mjs/expression/reference/AttributeReferenceExpr.js.map +1 -0
  176. package/dist/mjs/expression/reference/ElemObjectReferenceExpr.js +10 -0
  177. package/dist/mjs/expression/reference/ElemObjectReferenceExpr.js.map +1 -0
  178. package/dist/mjs/expression/reference/NestedObjectChainEndExpr.js +10 -0
  179. package/dist/mjs/expression/reference/NestedObjectChainEndExpr.js.map +1 -0
  180. package/dist/mjs/expression/reference/NestedObjectChainExpr.js +11 -0
  181. package/dist/mjs/expression/reference/NestedObjectChainExpr.js.map +1 -0
  182. package/dist/mjs/expression/reference/ObjectReferenceExpr.js +2 -0
  183. package/dist/mjs/expression/reference/ObjectReferenceExpr.js.map +1 -0
  184. package/dist/mjs/expression/reference/PropObjectReferenceExpr.js +10 -0
  185. package/dist/mjs/expression/reference/PropObjectReferenceExpr.js.map +1 -0
  186. package/dist/mjs/expression/string/StringConcatExpr.js +11 -0
  187. package/dist/mjs/expression/string/StringConcatExpr.js.map +1 -0
  188. package/dist/mjs/expression/string/StringLiteralExpr.js +10 -0
  189. package/dist/mjs/expression/string/StringLiteralExpr.js.map +1 -0
  190. package/dist/mjs/package.json +1 -0
  191. package/dist/mjs/parser/IfcExpressionLexer.js +138 -0
  192. package/dist/mjs/parser/IfcExpressionLexer.js.map +1 -0
  193. package/dist/mjs/parser/IfcExpressionListener.js +9 -0
  194. package/dist/mjs/parser/IfcExpressionListener.js.map +1 -0
  195. package/dist/mjs/parser/IfcExpressionParser.js +1487 -0
  196. package/dist/mjs/parser/IfcExpressionParser.js.map +1 -0
  197. package/dist/mjs/parser/IfcExpressionVisitor.js +12 -0
  198. package/dist/mjs/parser/IfcExpressionVisitor.js.map +1 -0
  199. package/dist/mjs/utils.js +7 -0
  200. package/dist/mjs/utils.js.map +1 -0
  201. package/dist/mjs/value/BooleanValue.js +10 -0
  202. package/dist/mjs/value/BooleanValue.js.map +1 -0
  203. package/dist/mjs/value/LiteralValue.js +2 -0
  204. package/dist/mjs/value/LiteralValue.js.map +1 -0
  205. package/dist/mjs/value/LiteralValueAnyArity.js +2 -0
  206. package/dist/mjs/value/LiteralValueAnyArity.js.map +1 -0
  207. package/dist/mjs/value/LogicalValue.js +10 -0
  208. package/dist/mjs/value/LogicalValue.js.map +1 -0
  209. package/dist/mjs/value/NumericValue.js +11 -0
  210. package/dist/mjs/value/NumericValue.js.map +1 -0
  211. package/dist/mjs/value/PrimitiveValueType.js +2 -0
  212. package/dist/mjs/value/PrimitiveValueType.js.map +1 -0
  213. package/dist/mjs/value/ReferenceValue.js +10 -0
  214. package/dist/mjs/value/ReferenceValue.js.map +1 -0
  215. package/dist/mjs/value/StringValue.js +10 -0
  216. package/dist/mjs/value/StringValue.js.map +1 -0
  217. package/dist/mjs/value/Value.js +9 -0
  218. package/dist/mjs/value/Value.js.map +1 -0
  219. package/dist/parser/IfcExpressionLexer.d.ts +43 -0
  220. package/dist/parser/IfcExpressionListener.d.ts +262 -0
  221. package/dist/parser/IfcExpressionParser.d.ts +265 -0
  222. package/dist/parser/IfcExpressionVisitor.d.ts +169 -0
  223. package/dist/value/BooleanValue.d.ts +5 -0
  224. package/dist/value/LiteralValue.d.ts +6 -0
  225. package/dist/value/LiteralValueAnyArity.d.ts +2 -0
  226. package/dist/value/LogicalValue.d.ts +5 -0
  227. package/dist/value/NumericValue.d.ts +6 -0
  228. package/dist/value/PrimitiveValueType.d.ts +2 -0
  229. package/dist/value/ReferenceValue.d.ts +5 -0
  230. package/dist/value/StringValue.d.ts +5 -0
  231. package/dist/value/Value.d.ts +6 -0
  232. package/package.json +2 -2
@@ -0,0 +1,262 @@
1
+ import { ParseTreeListener } from "antlr4";
2
+ import { ExprContext } from "./IfcExpressionParser";
3
+ import { NumMulDivContext } from "./IfcExpressionParser";
4
+ import { NumAddSubContext } from "./IfcExpressionParser";
5
+ import { NumParensContext } from "./IfcExpressionParser";
6
+ import { NumLitContext } from "./IfcExpressionParser";
7
+ import { NumFunCallContext } from "./IfcExpressionParser";
8
+ import { NumAttributeRefContext } from "./IfcExpressionParser";
9
+ import { NumLiteralContext } from "./IfcExpressionParser";
10
+ import { StringAttributeRefContext } from "./IfcExpressionParser";
11
+ import { StringLiteralContext } from "./IfcExpressionParser";
12
+ import { StringFunCallContext } from "./IfcExpressionParser";
13
+ import { StringConcatContext } from "./IfcExpressionParser";
14
+ import { ObjectRefContext } from "./IfcExpressionParser";
15
+ import { AttributeRefContext } from "./IfcExpressionParser";
16
+ import { NestedObjectChainInnerContext } from "./IfcExpressionParser";
17
+ import { NestedObjectChainEndContext } from "./IfcExpressionParser";
18
+ import { NamedRefContext } from "./IfcExpressionParser";
19
+ import { FunctionCallContext } from "./IfcExpressionParser";
20
+ import { ExprListContext } from "./IfcExpressionParser";
21
+ import { ArrayContext } from "./IfcExpressionParser";
22
+ import { ArrayElementListContext } from "./IfcExpressionParser";
23
+ /**
24
+ * This interface defines a complete listener for a parse tree produced by
25
+ * `IfcExpressionParser`.
26
+ */
27
+ export default class IfcExpressionListener extends ParseTreeListener {
28
+ /**
29
+ * Enter a parse tree produced by `IfcExpressionParser.expr`.
30
+ * @param ctx the parse tree
31
+ */
32
+ enterExpr?: (ctx: ExprContext) => void;
33
+ /**
34
+ * Exit a parse tree produced by `IfcExpressionParser.expr`.
35
+ * @param ctx the parse tree
36
+ */
37
+ exitExpr?: (ctx: ExprContext) => void;
38
+ /**
39
+ * Enter a parse tree produced by the `numMulDiv`
40
+ * labeled alternative in `IfcExpressionParser.numExpr`.
41
+ * @param ctx the parse tree
42
+ */
43
+ enterNumMulDiv?: (ctx: NumMulDivContext) => void;
44
+ /**
45
+ * Exit a parse tree produced by the `numMulDiv`
46
+ * labeled alternative in `IfcExpressionParser.numExpr`.
47
+ * @param ctx the parse tree
48
+ */
49
+ exitNumMulDiv?: (ctx: NumMulDivContext) => void;
50
+ /**
51
+ * Enter a parse tree produced by the `numAddSub`
52
+ * labeled alternative in `IfcExpressionParser.numExpr`.
53
+ * @param ctx the parse tree
54
+ */
55
+ enterNumAddSub?: (ctx: NumAddSubContext) => void;
56
+ /**
57
+ * Exit a parse tree produced by the `numAddSub`
58
+ * labeled alternative in `IfcExpressionParser.numExpr`.
59
+ * @param ctx the parse tree
60
+ */
61
+ exitNumAddSub?: (ctx: NumAddSubContext) => void;
62
+ /**
63
+ * Enter a parse tree produced by the `numParens`
64
+ * labeled alternative in `IfcExpressionParser.numExpr`.
65
+ * @param ctx the parse tree
66
+ */
67
+ enterNumParens?: (ctx: NumParensContext) => void;
68
+ /**
69
+ * Exit a parse tree produced by the `numParens`
70
+ * labeled alternative in `IfcExpressionParser.numExpr`.
71
+ * @param ctx the parse tree
72
+ */
73
+ exitNumParens?: (ctx: NumParensContext) => void;
74
+ /**
75
+ * Enter a parse tree produced by the `numLit`
76
+ * labeled alternative in `IfcExpressionParser.numExpr`.
77
+ * @param ctx the parse tree
78
+ */
79
+ enterNumLit?: (ctx: NumLitContext) => void;
80
+ /**
81
+ * Exit a parse tree produced by the `numLit`
82
+ * labeled alternative in `IfcExpressionParser.numExpr`.
83
+ * @param ctx the parse tree
84
+ */
85
+ exitNumLit?: (ctx: NumLitContext) => void;
86
+ /**
87
+ * Enter a parse tree produced by the `numFunCall`
88
+ * labeled alternative in `IfcExpressionParser.numExpr`.
89
+ * @param ctx the parse tree
90
+ */
91
+ enterNumFunCall?: (ctx: NumFunCallContext) => void;
92
+ /**
93
+ * Exit a parse tree produced by the `numFunCall`
94
+ * labeled alternative in `IfcExpressionParser.numExpr`.
95
+ * @param ctx the parse tree
96
+ */
97
+ exitNumFunCall?: (ctx: NumFunCallContext) => void;
98
+ /**
99
+ * Enter a parse tree produced by the `numAttributeRef`
100
+ * labeled alternative in `IfcExpressionParser.numExpr`.
101
+ * @param ctx the parse tree
102
+ */
103
+ enterNumAttributeRef?: (ctx: NumAttributeRefContext) => void;
104
+ /**
105
+ * Exit a parse tree produced by the `numAttributeRef`
106
+ * labeled alternative in `IfcExpressionParser.numExpr`.
107
+ * @param ctx the parse tree
108
+ */
109
+ exitNumAttributeRef?: (ctx: NumAttributeRefContext) => void;
110
+ /**
111
+ * Enter a parse tree produced by `IfcExpressionParser.numLiteral`.
112
+ * @param ctx the parse tree
113
+ */
114
+ enterNumLiteral?: (ctx: NumLiteralContext) => void;
115
+ /**
116
+ * Exit a parse tree produced by `IfcExpressionParser.numLiteral`.
117
+ * @param ctx the parse tree
118
+ */
119
+ exitNumLiteral?: (ctx: NumLiteralContext) => void;
120
+ /**
121
+ * Enter a parse tree produced by the `stringAttributeRef`
122
+ * labeled alternative in `IfcExpressionParser.stringExpr`.
123
+ * @param ctx the parse tree
124
+ */
125
+ enterStringAttributeRef?: (ctx: StringAttributeRefContext) => void;
126
+ /**
127
+ * Exit a parse tree produced by the `stringAttributeRef`
128
+ * labeled alternative in `IfcExpressionParser.stringExpr`.
129
+ * @param ctx the parse tree
130
+ */
131
+ exitStringAttributeRef?: (ctx: StringAttributeRefContext) => void;
132
+ /**
133
+ * Enter a parse tree produced by the `stringLiteral`
134
+ * labeled alternative in `IfcExpressionParser.stringExpr`.
135
+ * @param ctx the parse tree
136
+ */
137
+ enterStringLiteral?: (ctx: StringLiteralContext) => void;
138
+ /**
139
+ * Exit a parse tree produced by the `stringLiteral`
140
+ * labeled alternative in `IfcExpressionParser.stringExpr`.
141
+ * @param ctx the parse tree
142
+ */
143
+ exitStringLiteral?: (ctx: StringLiteralContext) => void;
144
+ /**
145
+ * Enter a parse tree produced by the `stringFunCall`
146
+ * labeled alternative in `IfcExpressionParser.stringExpr`.
147
+ * @param ctx the parse tree
148
+ */
149
+ enterStringFunCall?: (ctx: StringFunCallContext) => void;
150
+ /**
151
+ * Exit a parse tree produced by the `stringFunCall`
152
+ * labeled alternative in `IfcExpressionParser.stringExpr`.
153
+ * @param ctx the parse tree
154
+ */
155
+ exitStringFunCall?: (ctx: StringFunCallContext) => void;
156
+ /**
157
+ * Enter a parse tree produced by the `stringConcat`
158
+ * labeled alternative in `IfcExpressionParser.stringExpr`.
159
+ * @param ctx the parse tree
160
+ */
161
+ enterStringConcat?: (ctx: StringConcatContext) => void;
162
+ /**
163
+ * Exit a parse tree produced by the `stringConcat`
164
+ * labeled alternative in `IfcExpressionParser.stringExpr`.
165
+ * @param ctx the parse tree
166
+ */
167
+ exitStringConcat?: (ctx: StringConcatContext) => void;
168
+ /**
169
+ * Enter a parse tree produced by `IfcExpressionParser.objectRef`.
170
+ * @param ctx the parse tree
171
+ */
172
+ enterObjectRef?: (ctx: ObjectRefContext) => void;
173
+ /**
174
+ * Exit a parse tree produced by `IfcExpressionParser.objectRef`.
175
+ * @param ctx the parse tree
176
+ */
177
+ exitObjectRef?: (ctx: ObjectRefContext) => void;
178
+ /**
179
+ * Enter a parse tree produced by `IfcExpressionParser.attributeRef`.
180
+ * @param ctx the parse tree
181
+ */
182
+ enterAttributeRef?: (ctx: AttributeRefContext) => void;
183
+ /**
184
+ * Exit a parse tree produced by `IfcExpressionParser.attributeRef`.
185
+ * @param ctx the parse tree
186
+ */
187
+ exitAttributeRef?: (ctx: AttributeRefContext) => void;
188
+ /**
189
+ * Enter a parse tree produced by the `nestedObjectChainInner`
190
+ * labeled alternative in `IfcExpressionParser.nestedObjectChain`.
191
+ * @param ctx the parse tree
192
+ */
193
+ enterNestedObjectChainInner?: (ctx: NestedObjectChainInnerContext) => void;
194
+ /**
195
+ * Exit a parse tree produced by the `nestedObjectChainInner`
196
+ * labeled alternative in `IfcExpressionParser.nestedObjectChain`.
197
+ * @param ctx the parse tree
198
+ */
199
+ exitNestedObjectChainInner?: (ctx: NestedObjectChainInnerContext) => void;
200
+ /**
201
+ * Enter a parse tree produced by the `nestedObjectChainEnd`
202
+ * labeled alternative in `IfcExpressionParser.nestedObjectChain`.
203
+ * @param ctx the parse tree
204
+ */
205
+ enterNestedObjectChainEnd?: (ctx: NestedObjectChainEndContext) => void;
206
+ /**
207
+ * Exit a parse tree produced by the `nestedObjectChainEnd`
208
+ * labeled alternative in `IfcExpressionParser.nestedObjectChain`.
209
+ * @param ctx the parse tree
210
+ */
211
+ exitNestedObjectChainEnd?: (ctx: NestedObjectChainEndContext) => void;
212
+ /**
213
+ * Enter a parse tree produced by `IfcExpressionParser.namedRef`.
214
+ * @param ctx the parse tree
215
+ */
216
+ enterNamedRef?: (ctx: NamedRefContext) => void;
217
+ /**
218
+ * Exit a parse tree produced by `IfcExpressionParser.namedRef`.
219
+ * @param ctx the parse tree
220
+ */
221
+ exitNamedRef?: (ctx: NamedRefContext) => void;
222
+ /**
223
+ * Enter a parse tree produced by `IfcExpressionParser.functionCall`.
224
+ * @param ctx the parse tree
225
+ */
226
+ enterFunctionCall?: (ctx: FunctionCallContext) => void;
227
+ /**
228
+ * Exit a parse tree produced by `IfcExpressionParser.functionCall`.
229
+ * @param ctx the parse tree
230
+ */
231
+ exitFunctionCall?: (ctx: FunctionCallContext) => void;
232
+ /**
233
+ * Enter a parse tree produced by `IfcExpressionParser.exprList`.
234
+ * @param ctx the parse tree
235
+ */
236
+ enterExprList?: (ctx: ExprListContext) => void;
237
+ /**
238
+ * Exit a parse tree produced by `IfcExpressionParser.exprList`.
239
+ * @param ctx the parse tree
240
+ */
241
+ exitExprList?: (ctx: ExprListContext) => void;
242
+ /**
243
+ * Enter a parse tree produced by `IfcExpressionParser.array`.
244
+ * @param ctx the parse tree
245
+ */
246
+ enterArray?: (ctx: ArrayContext) => void;
247
+ /**
248
+ * Exit a parse tree produced by `IfcExpressionParser.array`.
249
+ * @param ctx the parse tree
250
+ */
251
+ exitArray?: (ctx: ArrayContext) => void;
252
+ /**
253
+ * Enter a parse tree produced by `IfcExpressionParser.arrayElementList`.
254
+ * @param ctx the parse tree
255
+ */
256
+ enterArrayElementList?: (ctx: ArrayElementListContext) => void;
257
+ /**
258
+ * Exit a parse tree produced by `IfcExpressionParser.arrayElementList`.
259
+ * @param ctx the parse tree
260
+ */
261
+ exitArrayElementList?: (ctx: ArrayElementListContext) => void;
262
+ }
@@ -0,0 +1,265 @@
1
+ import { ATN, DFA, FailedPredicateException, Parser, RuleContext, ParserRuleContext, TerminalNode, Token, TokenStream } from 'antlr4';
2
+ import IfcExpressionListener from "./IfcExpressionListener.js";
3
+ import IfcExpressionVisitor from "./IfcExpressionVisitor.js";
4
+ export default class IfcExpressionParser extends Parser {
5
+ static readonly T__0 = 1;
6
+ static readonly T__1 = 2;
7
+ static readonly T__2 = 3;
8
+ static readonly T__3 = 4;
9
+ static readonly T__4 = 5;
10
+ static readonly T__5 = 6;
11
+ static readonly T__6 = 7;
12
+ static readonly T__7 = 8;
13
+ static readonly T__8 = 9;
14
+ static readonly T__9 = 10;
15
+ static readonly T__10 = 11;
16
+ static readonly INT = 12;
17
+ static readonly FLOAT = 13;
18
+ static readonly PROP = 14;
19
+ static readonly ELEM = 15;
20
+ static readonly RESERVED_ATTRIBUTE_NAME = 16;
21
+ static readonly RESERVED_RELATION_NAME = 17;
22
+ static readonly QUOTED_STRING = 18;
23
+ static readonly BRACKETED_STRING = 19;
24
+ static readonly IDENTIFIER = 20;
25
+ static readonly WS = 21;
26
+ static readonly NEWLINE = 22;
27
+ static readonly EOF: number;
28
+ static readonly RULE_expr = 0;
29
+ static readonly RULE_numExpr = 1;
30
+ static readonly RULE_numLiteral = 2;
31
+ static readonly RULE_stringExpr = 3;
32
+ static readonly RULE_objectRef = 4;
33
+ static readonly RULE_attributeRef = 5;
34
+ static readonly RULE_nestedObjectChain = 6;
35
+ static readonly RULE_namedRef = 7;
36
+ static readonly RULE_functionCall = 8;
37
+ static readonly RULE_exprList = 9;
38
+ static readonly RULE_array = 10;
39
+ static readonly RULE_arrayElementList = 11;
40
+ static readonly literalNames: (string | null)[];
41
+ static readonly symbolicNames: (string | null)[];
42
+ static readonly ruleNames: string[];
43
+ get grammarFileName(): string;
44
+ get literalNames(): (string | null)[];
45
+ get symbolicNames(): (string | null)[];
46
+ get ruleNames(): string[];
47
+ get serializedATN(): number[];
48
+ protected createFailedPredicateException(predicate?: string, message?: string): FailedPredicateException;
49
+ constructor(input: TokenStream);
50
+ expr(): ExprContext;
51
+ numExpr(): NumExprContext;
52
+ numExpr(_p: number): NumExprContext;
53
+ numLiteral(): NumLiteralContext;
54
+ stringExpr(): StringExprContext;
55
+ stringExpr(_p: number): StringExprContext;
56
+ objectRef(): ObjectRefContext;
57
+ attributeRef(): AttributeRefContext;
58
+ nestedObjectChain(): NestedObjectChainContext;
59
+ namedRef(): NamedRefContext;
60
+ functionCall(): FunctionCallContext;
61
+ exprList(): ExprListContext;
62
+ array(): ArrayContext;
63
+ arrayElementList(): ArrayElementListContext;
64
+ sempred(localctx: RuleContext, ruleIndex: number, predIndex: number): boolean;
65
+ private numExpr_sempred;
66
+ private stringExpr_sempred;
67
+ static readonly _serializedATN: number[];
68
+ private static __ATN;
69
+ static get _ATN(): ATN;
70
+ static DecisionsToDFA: DFA[];
71
+ }
72
+ export declare class ExprContext extends ParserRuleContext {
73
+ constructor(parser?: IfcExpressionParser, parent?: ParserRuleContext, invokingState?: number);
74
+ attributeRef(): AttributeRefContext;
75
+ functionCall(): FunctionCallContext;
76
+ numExpr(): NumExprContext;
77
+ array(): ArrayContext;
78
+ stringExpr(): StringExprContext;
79
+ get ruleIndex(): number;
80
+ enterRule(listener: IfcExpressionListener): void;
81
+ exitRule(listener: IfcExpressionListener): void;
82
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
83
+ }
84
+ export declare class NumExprContext extends ParserRuleContext {
85
+ constructor(parser?: IfcExpressionParser, parent?: ParserRuleContext, invokingState?: number);
86
+ get ruleIndex(): number;
87
+ copyFrom(ctx: NumExprContext): void;
88
+ }
89
+ export declare class NumMulDivContext extends NumExprContext {
90
+ _op: Token;
91
+ constructor(parser: IfcExpressionParser, ctx: NumExprContext);
92
+ numExpr_list(): NumExprContext[];
93
+ numExpr(i: number): NumExprContext;
94
+ enterRule(listener: IfcExpressionListener): void;
95
+ exitRule(listener: IfcExpressionListener): void;
96
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
97
+ }
98
+ export declare class NumAddSubContext extends NumExprContext {
99
+ _op: Token;
100
+ constructor(parser: IfcExpressionParser, ctx: NumExprContext);
101
+ numExpr_list(): NumExprContext[];
102
+ numExpr(i: number): NumExprContext;
103
+ enterRule(listener: IfcExpressionListener): void;
104
+ exitRule(listener: IfcExpressionListener): void;
105
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
106
+ }
107
+ export declare class NumParensContext extends NumExprContext {
108
+ constructor(parser: IfcExpressionParser, ctx: NumExprContext);
109
+ numExpr(): NumExprContext;
110
+ enterRule(listener: IfcExpressionListener): void;
111
+ exitRule(listener: IfcExpressionListener): void;
112
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
113
+ }
114
+ export declare class NumLitContext extends NumExprContext {
115
+ constructor(parser: IfcExpressionParser, ctx: NumExprContext);
116
+ numLiteral(): NumLiteralContext;
117
+ enterRule(listener: IfcExpressionListener): void;
118
+ exitRule(listener: IfcExpressionListener): void;
119
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
120
+ }
121
+ export declare class NumFunCallContext extends NumExprContext {
122
+ constructor(parser: IfcExpressionParser, ctx: NumExprContext);
123
+ functionCall(): FunctionCallContext;
124
+ enterRule(listener: IfcExpressionListener): void;
125
+ exitRule(listener: IfcExpressionListener): void;
126
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
127
+ }
128
+ export declare class NumAttributeRefContext extends NumExprContext {
129
+ constructor(parser: IfcExpressionParser, ctx: NumExprContext);
130
+ attributeRef(): AttributeRefContext;
131
+ enterRule(listener: IfcExpressionListener): void;
132
+ exitRule(listener: IfcExpressionListener): void;
133
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
134
+ }
135
+ export declare class NumLiteralContext extends ParserRuleContext {
136
+ constructor(parser?: IfcExpressionParser, parent?: ParserRuleContext, invokingState?: number);
137
+ INT(): TerminalNode;
138
+ FLOAT(): TerminalNode;
139
+ get ruleIndex(): number;
140
+ enterRule(listener: IfcExpressionListener): void;
141
+ exitRule(listener: IfcExpressionListener): void;
142
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
143
+ }
144
+ export declare class StringExprContext extends ParserRuleContext {
145
+ constructor(parser?: IfcExpressionParser, parent?: ParserRuleContext, invokingState?: number);
146
+ get ruleIndex(): number;
147
+ copyFrom(ctx: StringExprContext): void;
148
+ }
149
+ export declare class StringAttributeRefContext extends StringExprContext {
150
+ constructor(parser: IfcExpressionParser, ctx: StringExprContext);
151
+ attributeRef(): AttributeRefContext;
152
+ enterRule(listener: IfcExpressionListener): void;
153
+ exitRule(listener: IfcExpressionListener): void;
154
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
155
+ }
156
+ export declare class StringLiteralContext extends StringExprContext {
157
+ constructor(parser: IfcExpressionParser, ctx: StringExprContext);
158
+ QUOTED_STRING(): TerminalNode;
159
+ enterRule(listener: IfcExpressionListener): void;
160
+ exitRule(listener: IfcExpressionListener): void;
161
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
162
+ }
163
+ export declare class StringFunCallContext extends StringExprContext {
164
+ constructor(parser: IfcExpressionParser, ctx: StringExprContext);
165
+ functionCall(): FunctionCallContext;
166
+ enterRule(listener: IfcExpressionListener): void;
167
+ exitRule(listener: IfcExpressionListener): void;
168
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
169
+ }
170
+ export declare class StringConcatContext extends StringExprContext {
171
+ _left: StringExprContext;
172
+ _right: StringExprContext;
173
+ constructor(parser: IfcExpressionParser, ctx: StringExprContext);
174
+ stringExpr_list(): StringExprContext[];
175
+ stringExpr(i: number): StringExprContext;
176
+ enterRule(listener: IfcExpressionListener): void;
177
+ exitRule(listener: IfcExpressionListener): void;
178
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
179
+ }
180
+ export declare class ObjectRefContext extends ParserRuleContext {
181
+ constructor(parser?: IfcExpressionParser, parent?: ParserRuleContext, invokingState?: number);
182
+ PROP(): TerminalNode;
183
+ ELEM(): TerminalNode;
184
+ get ruleIndex(): number;
185
+ enterRule(listener: IfcExpressionListener): void;
186
+ exitRule(listener: IfcExpressionListener): void;
187
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
188
+ }
189
+ export declare class AttributeRefContext extends ParserRuleContext {
190
+ constructor(parser?: IfcExpressionParser, parent?: ParserRuleContext, invokingState?: number);
191
+ objectRef(): ObjectRefContext;
192
+ nestedObjectChain(): NestedObjectChainContext;
193
+ get ruleIndex(): number;
194
+ enterRule(listener: IfcExpressionListener): void;
195
+ exitRule(listener: IfcExpressionListener): void;
196
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
197
+ }
198
+ export declare class NestedObjectChainContext extends ParserRuleContext {
199
+ constructor(parser?: IfcExpressionParser, parent?: ParserRuleContext, invokingState?: number);
200
+ get ruleIndex(): number;
201
+ copyFrom(ctx: NestedObjectChainContext): void;
202
+ }
203
+ export declare class NestedObjectChainEndContext extends NestedObjectChainContext {
204
+ _name: Token;
205
+ constructor(parser: IfcExpressionParser, ctx: NestedObjectChainContext);
206
+ RESERVED_ATTRIBUTE_NAME(): TerminalNode;
207
+ enterRule(listener: IfcExpressionListener): void;
208
+ exitRule(listener: IfcExpressionListener): void;
209
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
210
+ }
211
+ export declare class NestedObjectChainInnerContext extends NestedObjectChainContext {
212
+ constructor(parser: IfcExpressionParser, ctx: NestedObjectChainContext);
213
+ namedRef(): NamedRefContext;
214
+ nestedObjectChain(): NestedObjectChainContext;
215
+ enterRule(listener: IfcExpressionListener): void;
216
+ exitRule(listener: IfcExpressionListener): void;
217
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
218
+ }
219
+ export declare class NamedRefContext extends ParserRuleContext {
220
+ _name: Token;
221
+ constructor(parser?: IfcExpressionParser, parent?: ParserRuleContext, invokingState?: number);
222
+ RESERVED_RELATION_NAME(): TerminalNode;
223
+ BRACKETED_STRING(): TerminalNode;
224
+ IDENTIFIER(): TerminalNode;
225
+ get ruleIndex(): number;
226
+ enterRule(listener: IfcExpressionListener): void;
227
+ exitRule(listener: IfcExpressionListener): void;
228
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
229
+ }
230
+ export declare class FunctionCallContext extends ParserRuleContext {
231
+ _name: Token;
232
+ constructor(parser?: IfcExpressionParser, parent?: ParserRuleContext, invokingState?: number);
233
+ exprList(): ExprListContext;
234
+ IDENTIFIER(): TerminalNode;
235
+ get ruleIndex(): number;
236
+ enterRule(listener: IfcExpressionListener): void;
237
+ exitRule(listener: IfcExpressionListener): void;
238
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
239
+ }
240
+ export declare class ExprListContext extends ParserRuleContext {
241
+ constructor(parser?: IfcExpressionParser, parent?: ParserRuleContext, invokingState?: number);
242
+ expr(): ExprContext;
243
+ exprList(): ExprListContext;
244
+ get ruleIndex(): number;
245
+ enterRule(listener: IfcExpressionListener): void;
246
+ exitRule(listener: IfcExpressionListener): void;
247
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
248
+ }
249
+ export declare class ArrayContext extends ParserRuleContext {
250
+ constructor(parser?: IfcExpressionParser, parent?: ParserRuleContext, invokingState?: number);
251
+ arrayElementList(): ArrayElementListContext;
252
+ get ruleIndex(): number;
253
+ enterRule(listener: IfcExpressionListener): void;
254
+ exitRule(listener: IfcExpressionListener): void;
255
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
256
+ }
257
+ export declare class ArrayElementListContext extends ParserRuleContext {
258
+ constructor(parser?: IfcExpressionParser, parent?: ParserRuleContext, invokingState?: number);
259
+ expr(): ExprContext;
260
+ arrayElementList(): ArrayElementListContext;
261
+ get ruleIndex(): number;
262
+ enterRule(listener: IfcExpressionListener): void;
263
+ exitRule(listener: IfcExpressionListener): void;
264
+ accept<Result>(visitor: IfcExpressionVisitor<Result>): Result;
265
+ }
@@ -0,0 +1,169 @@
1
+ import { ParseTreeVisitor } from 'antlr4';
2
+ import { ExprContext } from "./IfcExpressionParser";
3
+ import { NumMulDivContext } from "./IfcExpressionParser";
4
+ import { NumAddSubContext } from "./IfcExpressionParser";
5
+ import { NumParensContext } from "./IfcExpressionParser";
6
+ import { NumLitContext } from "./IfcExpressionParser";
7
+ import { NumFunCallContext } from "./IfcExpressionParser";
8
+ import { NumAttributeRefContext } from "./IfcExpressionParser";
9
+ import { NumLiteralContext } from "./IfcExpressionParser";
10
+ import { StringAttributeRefContext } from "./IfcExpressionParser";
11
+ import { StringLiteralContext } from "./IfcExpressionParser";
12
+ import { StringFunCallContext } from "./IfcExpressionParser";
13
+ import { StringConcatContext } from "./IfcExpressionParser";
14
+ import { ObjectRefContext } from "./IfcExpressionParser";
15
+ import { AttributeRefContext } from "./IfcExpressionParser";
16
+ import { NestedObjectChainInnerContext } from "./IfcExpressionParser";
17
+ import { NestedObjectChainEndContext } from "./IfcExpressionParser";
18
+ import { NamedRefContext } from "./IfcExpressionParser";
19
+ import { FunctionCallContext } from "./IfcExpressionParser";
20
+ import { ExprListContext } from "./IfcExpressionParser";
21
+ import { ArrayContext } from "./IfcExpressionParser";
22
+ import { ArrayElementListContext } from "./IfcExpressionParser";
23
+ /**
24
+ * This interface defines a complete generic visitor for a parse tree produced
25
+ * by `IfcExpressionParser`.
26
+ *
27
+ * @param <Result> The return type of the visit operation. Use `void` for
28
+ * operations with no return type.
29
+ */
30
+ export default class IfcExpressionVisitor<Result> extends ParseTreeVisitor<Result> {
31
+ /**
32
+ * Visit a parse tree produced by `IfcExpressionParser.expr`.
33
+ * @param ctx the parse tree
34
+ * @return the visitor result
35
+ */
36
+ visitExpr?: (ctx: ExprContext) => Result;
37
+ /**
38
+ * Visit a parse tree produced by the `numMulDiv`
39
+ * labeled alternative in `IfcExpressionParser.numExpr`.
40
+ * @param ctx the parse tree
41
+ * @return the visitor result
42
+ */
43
+ visitNumMulDiv?: (ctx: NumMulDivContext) => Result;
44
+ /**
45
+ * Visit a parse tree produced by the `numAddSub`
46
+ * labeled alternative in `IfcExpressionParser.numExpr`.
47
+ * @param ctx the parse tree
48
+ * @return the visitor result
49
+ */
50
+ visitNumAddSub?: (ctx: NumAddSubContext) => Result;
51
+ /**
52
+ * Visit a parse tree produced by the `numParens`
53
+ * labeled alternative in `IfcExpressionParser.numExpr`.
54
+ * @param ctx the parse tree
55
+ * @return the visitor result
56
+ */
57
+ visitNumParens?: (ctx: NumParensContext) => Result;
58
+ /**
59
+ * Visit a parse tree produced by the `numLit`
60
+ * labeled alternative in `IfcExpressionParser.numExpr`.
61
+ * @param ctx the parse tree
62
+ * @return the visitor result
63
+ */
64
+ visitNumLit?: (ctx: NumLitContext) => Result;
65
+ /**
66
+ * Visit a parse tree produced by the `numFunCall`
67
+ * labeled alternative in `IfcExpressionParser.numExpr`.
68
+ * @param ctx the parse tree
69
+ * @return the visitor result
70
+ */
71
+ visitNumFunCall?: (ctx: NumFunCallContext) => Result;
72
+ /**
73
+ * Visit a parse tree produced by the `numAttributeRef`
74
+ * labeled alternative in `IfcExpressionParser.numExpr`.
75
+ * @param ctx the parse tree
76
+ * @return the visitor result
77
+ */
78
+ visitNumAttributeRef?: (ctx: NumAttributeRefContext) => Result;
79
+ /**
80
+ * Visit a parse tree produced by `IfcExpressionParser.numLiteral`.
81
+ * @param ctx the parse tree
82
+ * @return the visitor result
83
+ */
84
+ visitNumLiteral?: (ctx: NumLiteralContext) => Result;
85
+ /**
86
+ * Visit a parse tree produced by the `stringAttributeRef`
87
+ * labeled alternative in `IfcExpressionParser.stringExpr`.
88
+ * @param ctx the parse tree
89
+ * @return the visitor result
90
+ */
91
+ visitStringAttributeRef?: (ctx: StringAttributeRefContext) => Result;
92
+ /**
93
+ * Visit a parse tree produced by the `stringLiteral`
94
+ * labeled alternative in `IfcExpressionParser.stringExpr`.
95
+ * @param ctx the parse tree
96
+ * @return the visitor result
97
+ */
98
+ visitStringLiteral?: (ctx: StringLiteralContext) => Result;
99
+ /**
100
+ * Visit a parse tree produced by the `stringFunCall`
101
+ * labeled alternative in `IfcExpressionParser.stringExpr`.
102
+ * @param ctx the parse tree
103
+ * @return the visitor result
104
+ */
105
+ visitStringFunCall?: (ctx: StringFunCallContext) => Result;
106
+ /**
107
+ * Visit a parse tree produced by the `stringConcat`
108
+ * labeled alternative in `IfcExpressionParser.stringExpr`.
109
+ * @param ctx the parse tree
110
+ * @return the visitor result
111
+ */
112
+ visitStringConcat?: (ctx: StringConcatContext) => Result;
113
+ /**
114
+ * Visit a parse tree produced by `IfcExpressionParser.objectRef`.
115
+ * @param ctx the parse tree
116
+ * @return the visitor result
117
+ */
118
+ visitObjectRef?: (ctx: ObjectRefContext) => Result;
119
+ /**
120
+ * Visit a parse tree produced by `IfcExpressionParser.attributeRef`.
121
+ * @param ctx the parse tree
122
+ * @return the visitor result
123
+ */
124
+ visitAttributeRef?: (ctx: AttributeRefContext) => Result;
125
+ /**
126
+ * Visit a parse tree produced by the `nestedObjectChainInner`
127
+ * labeled alternative in `IfcExpressionParser.nestedObjectChain`.
128
+ * @param ctx the parse tree
129
+ * @return the visitor result
130
+ */
131
+ visitNestedObjectChainInner?: (ctx: NestedObjectChainInnerContext) => Result;
132
+ /**
133
+ * Visit a parse tree produced by the `nestedObjectChainEnd`
134
+ * labeled alternative in `IfcExpressionParser.nestedObjectChain`.
135
+ * @param ctx the parse tree
136
+ * @return the visitor result
137
+ */
138
+ visitNestedObjectChainEnd?: (ctx: NestedObjectChainEndContext) => Result;
139
+ /**
140
+ * Visit a parse tree produced by `IfcExpressionParser.namedRef`.
141
+ * @param ctx the parse tree
142
+ * @return the visitor result
143
+ */
144
+ visitNamedRef?: (ctx: NamedRefContext) => Result;
145
+ /**
146
+ * Visit a parse tree produced by `IfcExpressionParser.functionCall`.
147
+ * @param ctx the parse tree
148
+ * @return the visitor result
149
+ */
150
+ visitFunctionCall?: (ctx: FunctionCallContext) => Result;
151
+ /**
152
+ * Visit a parse tree produced by `IfcExpressionParser.exprList`.
153
+ * @param ctx the parse tree
154
+ * @return the visitor result
155
+ */
156
+ visitExprList?: (ctx: ExprListContext) => Result;
157
+ /**
158
+ * Visit a parse tree produced by `IfcExpressionParser.array`.
159
+ * @param ctx the parse tree
160
+ * @return the visitor result
161
+ */
162
+ visitArray?: (ctx: ArrayContext) => Result;
163
+ /**
164
+ * Visit a parse tree produced by `IfcExpressionParser.arrayElementList`.
165
+ * @param ctx the parse tree
166
+ * @return the visitor result
167
+ */
168
+ visitArrayElementList?: (ctx: ArrayElementListContext) => Result;
169
+ }