()
| 195 | } |
| 196 | |
| 197 | private parseNamedAtom(): ExprNode { |
| 198 | const identStart = this.pos; |
| 199 | const ident = this.readIdentifier(); |
| 200 | this.skipWhitespace(); |
| 201 | const next = this.peek(); |
| 202 | |
| 203 | if (next === "(") return this.parseCall(ident, identStart); |
| 204 | if (next === ".") return this.parseScopedRef(ident); |
| 205 | this.fail(`Unknown identifier "${ident}"`, identStart); |
| 206 | } |
| 207 | |
| 208 | private parseCall(name: string, namePosition: number): ExprNode { |
| 209 | if (!isKnownConstraintFunctionName(name)) { |
no test coverage detected