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

Function peg$parse

packages/graph/src/grammar.js:156–18296  ·  view source on GitHub ↗
(input, options)

Source from the content-addressed store, hash-verified

154}
155
156function peg$parse(input, options) {
157 options = options !== undefined ? options : {};
158
159 const peg$FAILED = {};
160 const peg$source = options.grammarSource;
161
162 const peg$startRuleFunctions = {
163 MultiStatement: peg$parseMultiStatement,
164 };
165 let peg$startRuleFunction = peg$parseMultiStatement;
166
167 const peg$c0 = ";";
168 const peg$c1 = ",";
169 const peg$c2 = ".";
170 const peg$c3 = ":";
171 const peg$c4 = "(";
172 const peg$c5 = ")";
173 const peg$c6 = "-[";
174 const peg$c7 = "]->";
175 const peg$c8 = "<-[";
176 const peg$c9 = "]-";
177 const peg$c10 = "|";
178 const peg$c11 = "*";
179 const peg$c12 = "+=";
180 const peg$c13 = "=";
181 const peg$c14 = "$";
182 const peg$c15 = "&";
183 const peg$c16 = "!";
184 const peg$c17 = "%";
185 const peg$c18 = "{";
186 const peg$c19 = "}";
187 const peg$c20 = "[";
188 const peg$c21 = "]";
189 const peg$c22 = "<-";
190 const peg$c23 = "-";
191 const peg$c24 = "->";
192 const peg$c25 = "+";
193 const peg$c26 = "..";
194 const peg$c27 = "=~";
195 const peg$c28 = "^";
196 const peg$c29 = ".*";
197 const peg$c30 = "!=";
198 const peg$c31 = "<>";
199 const peg$c32 = "<=";
200 const peg$c33 = ">=";
201 const peg$c34 = "<";
202 const peg$c35 = ">";
203 const peg$c36 = "match";
204 const peg$c37 = "where";
205 const peg$c38 = "return";
206 const peg$c39 = "distinct";
207 const peg$c40 = "count";
208 const peg$c41 = "sum";
209 const peg$c42 = "avg";
210 const peg$c43 = "min";
211 const peg$c44 = "max";
212 const peg$c45 = "collect";
213 const peg$c46 = "stdev";

Callers

nothing calls this directly

Calls 4

peg$literalExpectationFunction · 0.85
peg$classExpectationFunction · 0.85
peg$anyExpectationFunction · 0.85
peg$throwFunction · 0.85

Tested by

no test coverage detected