MCPcopy
hub / github.com/dianping/cat / parse_ModuleDecl

Function parse_ModuleDecl

cat-home/src/main/webapp/assets/js/editor/worker-xquery.js:3233–3250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3231 }
3232
3233 function parse_ModuleDecl()
3234 {
3235 eventHandler.startNonterminal("ModuleDecl", e0);
3236 shift(185); // 'module'
3237 lookahead1W(64); // S^WS | '(:' | 'namespace'
3238 shift(187); // 'namespace'
3239 lookahead1W(240); // NCName^Token | S^WS | '(:' | 'after' | 'allowing' | 'ancestor' |
3240 whitespace();
3241 parse_NCName();
3242 lookahead1W(30); // S^WS | '(:' | '='
3243 shift(61); // '='
3244 lookahead1W(15); // URILiteral | S^WS | '(:'
3245 shift(7); // URILiteral
3246 lookahead1W(29); // S^WS | '(:' | ';'
3247 whitespace();
3248 parse_Separator();
3249 eventHandler.endNonterminal("ModuleDecl", e0);
3250 }
3251
3252 function parse_Prolog()
3253 {

Callers 1

parse_LibraryModuleFunction · 0.85

Calls 5

parse_SeparatorFunction · 0.85
shiftFunction · 0.70
lookahead1WFunction · 0.70
whitespaceFunction · 0.70
parse_NCNameFunction · 0.70

Tested by

no test coverage detected