MCPcopy Create free account
hub / github.com/codemix/graph / peg$f157

Function peg$f157

packages/graph/src/grammar.js:1534–1541  ·  view source on GitHub ↗
(variable, property, pattern)

Source from the content-addressed store, hash-verified

1532 };
1533 }
1534 function peg$f157(variable, property, pattern) {
1535 return {
1536 type: 'RegexCondition',
1537 variable: variable,
1538 property: property,
1539 pattern: pattern
1540 };
1541 }
1542 function peg$f158(left, op, right) {
1543 // If left is a simple property access, extract variable and property for backwards compatibility
1544 if (left && typeof left === 'object' && left.type === 'PropertyAccess') {

Callers 1

peg$parseRegexConditionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected