MCPcopy Create free account
hub / github.com/microsoft/AI-Engineering-Coach / parseNot

Function parseNot

src/core/dsl/parser.ts:85–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84
85 function parseNot(): ASTNode {
86 enter();
87 try {
88 if (peek().type === TokenType.NOT) {
89 advance();
90 const operand = parseNot();
91 return { type: 'unary', op: 'NOT', operand };
92 }
93 return parseComparison();
94 } finally { exit(); }
95 }
96
97 function parseComparison(): ASTNode {
98 enter();

Callers 1

parseAndFunction · 0.85

Calls 5

enterFunction · 0.85
peekFunction · 0.85
advanceFunction · 0.85
parseComparisonFunction · 0.85
exitFunction · 0.85

Tested by

no test coverage detected