diff --git a/lib/core/jhipster/unary_options.js b/lib/core/jhipster/unary_options.js index 00317049..f7793a40 100644 --- a/lib/core/jhipster/unary_options.js +++ b/lib/core/jhipster/unary_options.js @@ -2,7 +2,8 @@ const UNARY_OPTIONS = { SKIP_CLIENT: 'skipClient', SKIP_SERVER: 'skipServer', SKIP_USER_MANAGEMENT: 'skipUserManagement', - NO_FLUENT_METHOD: 'noFluentMethod' + NO_FLUENT_METHOD: 'noFluentMethod', + FILTER: 'filter', }; function exists(option) { diff --git a/lib/dsl/grammar.txt b/lib/dsl/grammar.txt index 4fcfd802..4f3e36ac 100644 --- a/lib/dsl/grammar.txt +++ b/lib/dsl/grammar.txt @@ -57,6 +57,7 @@ searchEngine: {}, noClient: { list: [], excluded: [] }, noServer: { list: [], excluded: [] }, + filter: { list: [], excluded: [] }, angularSuffix: {}, noFluentMethod: { list: [], excluded: [] } }; @@ -125,6 +126,10 @@ prog parsed.noFluentMethod = noFluentMethod; return parsed; } + / SPACE* filter:filterDecl SPACE* p:prog { + parsed.filter = filter; + return parsed; + } / '' { return parsed; } // Application Declaration @@ -451,6 +456,22 @@ subNoServerDecl / ALL { return ['*']; } / e:ENTITY_NAME { return [e]; } +// JPA Metamodel filter option +filterDecl + = FILTER SPACE decl:subFilterDecl SPACE* ex:exclusion? SPACE* { + addUniqueElements(parsed.filter.list, decl); + if (ex) { + addUniqueElements(parsed.filter.excluded, ex); + } + return parsed.filter; + } + +subFilterDecl + = e:ENTITY_NAME SPACE* ',' SPACE* sub:subFilterDecl { return addUniqueElements([e], sub); } + / STAR { return ['*']; } + / ALL { return ['*']; } + / e:ENTITY_NAME { return [e]; } + // angularSuffix option angularSuffixDecl @@ -567,6 +588,7 @@ SEARCH = 'search' SKIP_CLIENT = 'skipClient' SKIP_SERVER = 'skipServer' ANGULAR_SUFFIX = 'angularSuffix' +FILTER = 'filter' // validations REQUIRED = 'required' MINLENGTH = 'minlength' diff --git a/lib/dsl/pegjs_parser.js b/lib/dsl/pegjs_parser.js index 71cec8c8..ae44d060 100644 --- a/lib/dsl/pegjs_parser.js +++ b/lib/dsl/pegjs_parser.js @@ -202,30 +202,34 @@ function peg$parse(input, options) { parsed.noFluentMethod = noFluentMethod; return parsed; }, - peg$c16 = "", - peg$c17 = function() { return parsed; }, - peg$c18 = "{", - peg$c19 = peg$literalExpectation("{", false), - peg$c20 = "}", - peg$c21 = peg$literalExpectation("}", false), - peg$c22 = function(applicationContent) { + peg$c16 = function(filter, p) { + parsed.filter = filter; + return parsed; + }, + peg$c17 = "", + peg$c18 = function() { return parsed; }, + peg$c19 = "{", + peg$c20 = peg$literalExpectation("{", false), + peg$c21 = "}", + peg$c22 = peg$literalExpectation("}", false), + peg$c23 = function(applicationContent) { return applicationContent; }, - peg$c23 = /^[A-z]/, - peg$c24 = peg$classExpectation([["A", "z"]], false, false), - peg$c25 = function(baseName, applicationContentDecl) { + peg$c24 = /^[A-z]/, + peg$c25 = peg$classExpectation([["A", "z"]], false, false), + peg$c26 = function(baseName, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'baseName', baseName.join('')); }, - peg$c26 = /^[^\n]/, - peg$c27 = peg$classExpectation(["\n"], true, false), - peg$c28 = function(path, applicationContentDecl) { + peg$c27 = /^[^\n]/, + peg$c28 = peg$classExpectation(["\n"], true, false), + peg$c29 = function(path, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'path', path.join('')); }, - peg$c29 = /^[a-z]/, - peg$c30 = peg$classExpectation([["a", "z"]], false, false), - peg$c31 = ".", - peg$c32 = peg$literalExpectation(".", false), - peg$c33 = function(packageName, applicationContentDecl) { + peg$c30 = /^[a-z]/, + peg$c31 = peg$classExpectation([["a", "z"]], false, false), + peg$c32 = ".", + peg$c33 = peg$literalExpectation(".", false), + peg$c34 = function(packageName, applicationContentDecl) { applicationContentDecl = addToApplicationDecl( applicationContentDecl, 'packageName', @@ -237,47 +241,47 @@ function peg$parse(input, options) { applicationContentDecl.packageName.replace(/[.]/g, '/') ); }, - peg$c34 = function(authenticationType, applicationContentDecl) { + peg$c35 = function(authenticationType, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'authenticationType', authenticationType.join('')); }, - peg$c35 = function(hibernateCache, applicationContentDecl) { + peg$c36 = function(hibernateCache, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'hibernateCache', hibernateCache.join('')); }, - peg$c36 = function(clusteredHttpSession, applicationContentDecl) { + peg$c37 = function(clusteredHttpSession, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'clusteredHttpSession', clusteredHttpSession.join('')); }, - peg$c37 = function(websocket, applicationContentDecl) { + peg$c38 = function(websocket, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'websocket', websocket.join('')); }, - peg$c38 = function(databaseType, applicationContentDecl) { + peg$c39 = function(databaseType, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'databaseType', databaseType.join('')); }, - peg$c39 = /^[A-z0-9]/, - peg$c40 = peg$classExpectation([["A", "z"], ["0", "9"]], false, false), - peg$c41 = function(devDatabaseType, applicationContentDecl) { + peg$c40 = /^[A-z0-9]/, + peg$c41 = peg$classExpectation([["A", "z"], ["0", "9"]], false, false), + peg$c42 = function(devDatabaseType, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'devDatabaseType', devDatabaseType.join('')); }, - peg$c42 = function(prodDatabaseType, applicationContentDecl) { + peg$c43 = function(prodDatabaseType, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'prodDatabaseType', prodDatabaseType.join('')); }, - peg$c43 = function(useCompass, applicationContentDecl) { + peg$c44 = function(useCompass, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'useCompass', useCompass); }, - peg$c44 = function(buildTool, applicationContentDecl) { + peg$c45 = function(buildTool, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'buildTool', buildTool.join('')); }, - peg$c45 = function(searchEngine, applicationContentDecl) { + peg$c46 = function(searchEngine, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'searchEngine', searchEngine); }, - peg$c46 = function(enableTranslation, applicationContentDecl) { + peg$c47 = function(enableTranslation, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'enableTranslation', enableTranslation); }, - peg$c47 = function(applicationType, applicationContentDecl) { + peg$c48 = function(applicationType, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'applicationType', applicationType.join('')); }, - peg$c48 = /^[a-z, ]/, - peg$c49 = peg$classExpectation([["a", "z"], ",", " "], false, false), - peg$c50 = function(testFrameworks, applicationContentDecl) { + peg$c49 = /^[a-z, ]/, + peg$c50 = peg$classExpectation([["a", "z"], ",", " "], false, false), + peg$c51 = function(testFrameworks, applicationContentDecl) { const testFrameworkEntries = []; const results = testFrameworks.join('').split(','); for (let i = 0; i < results.length; i++) { @@ -287,7 +291,7 @@ function peg$parse(input, options) { } return addToApplicationDecl(applicationContentDecl, 'testFrameworks', testFrameworkEntries); }, - peg$c51 = function(languages, applicationContentDecl) { + peg$c52 = function(languages, applicationContentDecl) { const languageEntries = []; const results = languages.join('').split(','); for (let i = 0; i < results.length; i++) { @@ -297,26 +301,26 @@ function peg$parse(input, options) { } return addToApplicationDecl(applicationContentDecl, 'languages', languageEntries); }, - peg$c52 = /^[0-9]/, - peg$c53 = peg$classExpectation([["0", "9"]], false, false), - peg$c54 = function(serverPort, applicationContentDecl) { + peg$c53 = /^[0-9]/, + peg$c54 = peg$classExpectation([["0", "9"]], false, false), + peg$c55 = function(serverPort, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'serverPort', parseInt(serverPort.join(''), 10)); }, - peg$c55 = function(enableSocialSignIn, applicationContentDecl) { + peg$c56 = function(enableSocialSignIn, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'enableSocialSignIn', enableSocialSignIn); }, - peg$c56 = function(useSass, applicationContentDecl) { + peg$c57 = function(useSass, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'useSass', useSass); }, - peg$c57 = /^[A-z0-9_\-]/, - peg$c58 = peg$classExpectation([["A", "z"], ["0", "9"], "_", "-"], false, false), - peg$c59 = function(jhiPrefix, applicationContentDecl) { + peg$c58 = /^[A-z0-9_\-]/, + peg$c59 = peg$classExpectation([["A", "z"], ["0", "9"], "_", "-"], false, false), + peg$c60 = function(jhiPrefix, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'jhiPrefix', jhiPrefix.join('')); }, - peg$c60 = function(messageBroker, applicationContentDecl) { + peg$c61 = function(messageBroker, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'messageBroker', messageBroker); }, - peg$c61 = function(serviceDiscoveryType, applicationContentDecl) { + peg$c62 = function(serviceDiscoveryType, applicationContentDecl) { const choice = serviceDiscoveryType.join(''); switch (choice) { case 'true': @@ -329,28 +333,28 @@ function peg$parse(input, options) { return addToApplicationDecl(applicationContentDecl, 'serviceDiscoveryType', choice.join('')); } }, - peg$c62 = function(clientPackageManager, applicationContentDecl) { + peg$c63 = function(clientPackageManager, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'clientPackageManager', clientPackageManager.join('')); }, - peg$c63 = function(clientFramework, applicationContentDecl) { + peg$c64 = function(clientFramework, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'clientFramework', clientFramework.join('')); }, - peg$c64 = function(nativeLanguage, applicationContentDecl) { + peg$c65 = function(nativeLanguage, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'nativeLanguage', nativeLanguage.join('')); }, - peg$c65 = function(frontEndBuilder, applicationContentDecl) { + peg$c66 = function(frontEndBuilder, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'frontEndBuilder', frontEndBuilder.join('')); }, - peg$c66 = function(skipUserManagement, applicationContentDecl) { + peg$c67 = function(skipUserManagement, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'skipUserManagement', skipUserManagement.join('')); }, - peg$c67 = function(skipClient, applicationContentDecl) { + peg$c68 = function(skipClient, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'skipClient', skipClient); }, - peg$c68 = function(skipServer, applicationContentDecl) { + peg$c69 = function(skipServer, applicationContentDecl) { return addToApplicationDecl(applicationContentDecl, 'skipServer', skipServer); }, - peg$c69 = function(entities, ex, applicationContentDecl) { + peg$c70 = function(entities, ex, applicationContentDecl) { const entityEntries = []; for (let i = 0; i < entities.length; i++) { if (entities[i].trim().length !== 0) { @@ -359,65 +363,65 @@ function peg$parse(input, options) { } return addToApplicationDecl(applicationContentDecl, 'entities', entityEntries); }, - peg$c70 = function(applicationContentDecl) { return applicationContentDecl; }, - peg$c71 = function() { return true; }, - peg$c72 = function() { return false; }, - peg$c73 = "=", - peg$c74 = peg$literalExpectation("=", false), - peg$c75 = function(name, value) { return { name: name, value: value }; }, - peg$c76 = function(jd, e, tableName, eb) { + peg$c71 = function(applicationContentDecl) { return applicationContentDecl; }, + peg$c72 = function() { return true; }, + peg$c73 = function() { return false; }, + peg$c74 = "=", + peg$c75 = peg$literalExpectation("=", false), + peg$c76 = function(name, value) { return { name: name, value: value }; }, + peg$c77 = function(jd, e, tableName, eb) { return { name: e, tableName: tableName ? tableName: e, body: eb, javadoc: jd }; }, - peg$c77 = function(e, eb) { return { name: e, body: eb, javadoc: '' }; }, - peg$c78 = "(", - peg$c79 = peg$literalExpectation("(", false), - peg$c80 = ")", - peg$c81 = peg$literalExpectation(")", false), - peg$c82 = function(name) { return name.join(''); }, - peg$c83 = function(fdl) { return fdl; }, - peg$c84 = function() { return []; }, - peg$c85 = ",", - peg$c86 = peg$literalExpectation(",", false), - peg$c87 = function(com, f, t, vl, com2, fdl) { + peg$c78 = function(e, eb) { return { name: e, body: eb, javadoc: '' }; }, + peg$c79 = "(", + peg$c80 = peg$literalExpectation("(", false), + peg$c81 = ")", + peg$c82 = peg$literalExpectation(")", false), + peg$c83 = function(name) { return name.join(''); }, + peg$c84 = function(fdl) { return fdl; }, + peg$c85 = function() { return []; }, + peg$c86 = ",", + peg$c87 = peg$literalExpectation(",", false), + peg$c88 = function(com, f, t, vl, com2, fdl) { return addUniqueElements([{ name: f, type: t, validations: vl, javadoc: com || com2 }], fdl ); }, - peg$c88 = function(v, vl) { return addUniqueElements([v], vl); }, - peg$c89 = function(rt, bodies) { + peg$c89 = function(v, vl) { return addUniqueElements([v], vl); }, + peg$c90 = function(rt, bodies) { addCardinalityToRelationships(rt, bodies); return addUniqueElements([], bodies); }, - peg$c90 = function(rb, morerb) { return addUniqueElements([rb], morerb); }, - peg$c91 = function(rb) { return [rb]; }, - peg$c92 = "to", - peg$c93 = peg$literalExpectation("to", false), - peg$c94 = function(from, to) { + peg$c91 = function(rb, morerb) { return addUniqueElements([rb], morerb); }, + peg$c92 = function(rb) { return [rb]; }, + peg$c93 = "to", + peg$c94 = peg$literalExpectation("to", false), + peg$c95 = function(from, to) { return { from: from , to: to }; }, - peg$c95 = "required", - peg$c96 = peg$literalExpectation("required", false), - peg$c97 = function(jd, e, i, required) { + peg$c96 = "required", + peg$c97 = peg$literalExpectation("required", false), + peg$c98 = function(jd, e, i, required) { return { name: e, injectedfield: i, javadoc: jd, required: required ? true : false }; }, - peg$c98 = function(jd, e) { + peg$c99 = function(jd, e) { return { name: e, injectedfield: null, javadoc: jd }; }, - peg$c99 = function(e) { return { name: e, injectedfield: null, javadoc: '' }; }, - peg$c100 = function(e, el) { + peg$c100 = function(e) { return { name: e, injectedfield: null, javadoc: '' }; }, + peg$c101 = function(e, el) { return { name: e, values: el }; }, - peg$c101 = function(e, el) { return addUniqueElements([e], el); }, - peg$c102 = function(e) { return [e]; }, - peg$c103 = function(sub) { return sub; }, - peg$c104 = function(e, sub) { return addUniqueElements([e], sub); }, - peg$c105 = function(decl, ex) { + peg$c102 = function(e, el) { return addUniqueElements([e], el); }, + peg$c103 = function(e) { return [e]; }, + peg$c104 = function(sub) { return sub; }, + peg$c105 = function(e, sub) { return addUniqueElements([e], sub); }, + peg$c106 = function(decl, ex) { addUniqueElements(parsed.noFluentMethod.list, decl); if (ex) { addUniqueElements(parsed.noFluentMethod.excluded, ex); } return parsed.noFluentMethod; }, - peg$c106 = function() { return ['*']; }, - peg$c107 = function(decl, ex) { + peg$c107 = function() { return ['*']; }, + peg$c108 = function(decl, ex) { parsed.dto[decl[decl.length - 1]] = parsed.dto[decl[decl.length - 1]] || { list: [], excluded: [] }; addUniqueElements(parsed.dto[decl[decl.length - 1]].list, decl.slice(0, decl.length - 1)); if (ex) { @@ -425,7 +429,7 @@ function peg$parse(input, options) { } return parsed.dto; }, - peg$c108 = function(decl, ex) { + peg$c109 = function(decl, ex) { parsed.pagination[decl[decl.length - 1]] = parsed.pagination[decl[decl.length - 1]] || { list: [], excluded: [] }; addUniqueElements(parsed.pagination[decl[decl.length - 1]].list, decl.slice(0, decl.length - 1)); @@ -434,7 +438,7 @@ function peg$parse(input, options) { } return parsed.pagination; }, - peg$c109 = function(decl, ex) { + peg$c110 = function(decl, ex) { parsed.service[decl[decl.length - 1]] = parsed.service[decl[decl.length - 1]] || { list: [], excluded: [] }; addUniqueElements(parsed.service[decl[decl.length - 1]].list, decl.slice(0, decl.length - 1)); @@ -443,7 +447,7 @@ function peg$parse(input, options) { } return parsed.service; }, - peg$c110 = function(decl, ex) { + peg$c111 = function(decl, ex) { parsed.microservice[decl[decl.length - 1]] = parsed.microservice[decl[decl.length - 1]] || { list: [], excluded: [] }; addUniqueElements(parsed.microservice[decl[decl.length - 1]].list, decl.slice(0, decl.length - 1)); @@ -452,7 +456,7 @@ function peg$parse(input, options) { } return parsed.microservice; }, - peg$c111 = function(decl, ex) { + peg$c112 = function(decl, ex) { parsed.searchEngine[decl[decl.length - 1]] = parsed.searchEngine[decl[decl.length - 1]] || { list: [], excluded: [] }; addUniqueElements(parsed.searchEngine[decl[decl.length - 1]].list, decl.slice(0, decl.length - 1)); @@ -461,21 +465,28 @@ function peg$parse(input, options) { } return parsed.searchEngine; }, - peg$c112 = function(decl, ex) { + peg$c113 = function(decl, ex) { addUniqueElements(parsed.noClient.list, decl); if (ex) { addUniqueElements(parsed.noClient.excluded, ex); } return parsed.noClient; }, - peg$c113 = function(decl, ex) { + peg$c114 = function(decl, ex) { addUniqueElements(parsed.noServer.list, decl); if (ex) { addUniqueElements(parsed.noServer.excluded, ex); } return parsed.noServer; }, - peg$c114 = function(decl, ex) { + peg$c115 = function(decl, ex) { + addUniqueElements(parsed.filter.list, decl); + if (ex) { + addUniqueElements(parsed.filter.excluded, ex); + } + return parsed.filter; + }, + peg$c116 = function(decl, ex) { parsed.angularSuffix[decl[decl.length - 1]] = parsed.angularSuffix[decl[decl.length - 1]] || { list: [], excluded: [] }; addUniqueElements(parsed.angularSuffix[decl[decl.length - 1]].list, decl.slice(0, decl.length - 1)); @@ -484,187 +495,189 @@ function peg$parse(input, options) { } return parsed.angularSuffix; }, - peg$c115 = /^[A-z0-9\-]/, - peg$c116 = peg$classExpectation([["A", "z"], ["0", "9"], "-"], false, false), - peg$c117 = function(method) { return ['*', method.toString().replace(/,/g,'')]; }, - peg$c118 = function(e, method) { return [e, method.toString().replace(/,/g,'')]; }, - peg$c119 = function() { return 'one-to-one'; }, - peg$c120 = function() { return 'one-to-many'; }, - peg$c121 = function() { return 'many-to-one'; }, - peg$c122 = function() { return 'many-to-many'; }, - peg$c123 = /^[A-Z]/, - peg$c124 = peg$classExpectation([["A", "Z"]], false, false), - peg$c125 = function(head, tail) { return `${head}${tail.join('')}`; }, - peg$c126 = function() { return { key: 'required', value: '' }; }, - peg$c127 = function(int) { return { key: 'minlength', value: int }; }, - peg$c128 = function(constantName) { return { key: 'minlength', value: constantName, constant: true }; }, - peg$c129 = function(int) { return { key: 'maxlength', value: int }; }, - peg$c130 = function(constantName) { return { key: 'maxlength', value: constantName, constant: true }; }, - peg$c131 = function(int) { return { key: 'minbytes', value: int }; }, - peg$c132 = function(constantName) { return { key: 'minbytes', value: constantName, constant: true }; }, - peg$c133 = function(int) { return { key: 'maxbytes', value: int }; }, - peg$c134 = function(constantName) { return { key: 'maxbytes', value: constantName, constant: true }; }, - peg$c135 = function(int) { return { key: 'min', value: int };}, - peg$c136 = function(constantName) { return { key: 'min', value: constantName, constant: true }; }, - peg$c137 = function(int) { return { key: 'max', value: int };}, - peg$c138 = function(constantName) { return { key: 'max', value: constantName, constant: true }; }, - peg$c139 = function(regex) { return { key: 'pattern', value: regex }; }, - peg$c140 = function(notAComment) { return notAComment.join(''); }, - peg$c141 = "/*", - peg$c142 = peg$literalExpectation("/*", false), - peg$c143 = /^[*]/, - peg$c144 = peg$classExpectation(["*"], false, false), - peg$c145 = "/", - peg$c146 = peg$literalExpectation("/", false), - peg$c147 = peg$anyExpectation(), - peg$c148 = function(char) { return char; }, - peg$c149 = "application", - peg$c150 = peg$literalExpectation("application", false), - peg$c151 = "baseName", - peg$c152 = peg$literalExpectation("baseName", false), - peg$c153 = "path", - peg$c154 = peg$literalExpectation("path", false), - peg$c155 = "packageName", - peg$c156 = peg$literalExpectation("packageName", false), - peg$c157 = "authenticationType", - peg$c158 = peg$literalExpectation("authenticationType", false), - peg$c159 = "hibernateCache", - peg$c160 = peg$literalExpectation("hibernateCache", false), - peg$c161 = "clusteredHttpSession", - peg$c162 = peg$literalExpectation("clusteredHttpSession", false), - peg$c163 = "websocket", - peg$c164 = peg$literalExpectation("websocket", false), - peg$c165 = "databaseType", - peg$c166 = peg$literalExpectation("databaseType", false), - peg$c167 = "devDatabaseType", - peg$c168 = peg$literalExpectation("devDatabaseType", false), - peg$c169 = "prodDatabaseType", - peg$c170 = peg$literalExpectation("prodDatabaseType", false), - peg$c171 = "useCompass", - peg$c172 = peg$literalExpectation("useCompass", false), - peg$c173 = "buildTool", - peg$c174 = peg$literalExpectation("buildTool", false), - peg$c175 = "searchEngine", - peg$c176 = peg$literalExpectation("searchEngine", false), - peg$c177 = "enableTranslation", - peg$c178 = peg$literalExpectation("enableTranslation", false), - peg$c179 = "applicationType", - peg$c180 = peg$literalExpectation("applicationType", false), - peg$c181 = "testFrameworks", - peg$c182 = peg$literalExpectation("testFrameworks", false), - peg$c183 = "languages", - peg$c184 = peg$literalExpectation("languages", false), - peg$c185 = "serverPort", - peg$c186 = peg$literalExpectation("serverPort", false), - peg$c187 = "enableSocialSignIn", - peg$c188 = peg$literalExpectation("enableSocialSignIn", false), - peg$c189 = "useSass", - peg$c190 = peg$literalExpectation("useSass", false), - peg$c191 = "jhiPrefix", - peg$c192 = peg$literalExpectation("jhiPrefix", false), - peg$c193 = "messageBroker", - peg$c194 = peg$literalExpectation("messageBroker", false), - peg$c195 = "serviceDiscoveryType", - peg$c196 = peg$literalExpectation("serviceDiscoveryType", false), - peg$c197 = "clientPackageManager", - peg$c198 = peg$literalExpectation("clientPackageManager", false), - peg$c199 = "clientFramework", - peg$c200 = peg$literalExpectation("clientFramework", false), - peg$c201 = "nativeLanguage", - peg$c202 = peg$literalExpectation("nativeLanguage", false), - peg$c203 = "frontendBuilder", - peg$c204 = peg$literalExpectation("frontendBuilder", false), - peg$c205 = "skipUserManagement", - peg$c206 = peg$literalExpectation("skipUserManagement", false), - peg$c207 = "entities", - peg$c208 = peg$literalExpectation("entities", false), - peg$c209 = "true", - peg$c210 = peg$literalExpectation("true", false), - peg$c211 = "false", - peg$c212 = peg$literalExpectation("false", false), - peg$c213 = "entity", - peg$c214 = peg$literalExpectation("entity", false), - peg$c215 = "relationship", - peg$c216 = peg$literalExpectation("relationship", false), - peg$c217 = "enum", - peg$c218 = peg$literalExpectation("enum", false), - peg$c219 = "OneToOne", - peg$c220 = peg$literalExpectation("OneToOne", false), - peg$c221 = "OneToMany", - peg$c222 = peg$literalExpectation("OneToMany", false), - peg$c223 = "ManyToOne", - peg$c224 = peg$literalExpectation("ManyToOne", false), - peg$c225 = "ManyToMany", - peg$c226 = peg$literalExpectation("ManyToMany", false), - peg$c227 = "all", - peg$c228 = peg$literalExpectation("all", false), - peg$c229 = "*", - peg$c230 = peg$literalExpectation("*", false), - peg$c231 = "for", - peg$c232 = peg$literalExpectation("for", false), - peg$c233 = "with", - peg$c234 = peg$literalExpectation("with", false), - peg$c235 = "except", - peg$c236 = peg$literalExpectation("except", false), - peg$c237 = "noFluentMethod", - peg$c238 = peg$literalExpectation("noFluentMethod", false), - peg$c239 = "dto", - peg$c240 = peg$literalExpectation("dto", false), - peg$c241 = "paginate", - peg$c242 = peg$literalExpectation("paginate", false), - peg$c243 = "service", - peg$c244 = peg$literalExpectation("service", false), - peg$c245 = "microservice", - peg$c246 = peg$literalExpectation("microservice", false), - peg$c247 = "search", - peg$c248 = peg$literalExpectation("search", false), - peg$c249 = "skipClient", - peg$c250 = peg$literalExpectation("skipClient", false), - peg$c251 = "skipServer", - peg$c252 = peg$literalExpectation("skipServer", false), - peg$c253 = "angularSuffix", - peg$c254 = peg$literalExpectation("angularSuffix", false), - peg$c255 = "minlength", - peg$c256 = peg$literalExpectation("minlength", false), - peg$c257 = "maxlength", - peg$c258 = peg$literalExpectation("maxlength", false), - peg$c259 = "minbytes", - peg$c260 = peg$literalExpectation("minbytes", false), - peg$c261 = "maxbytes", - peg$c262 = peg$literalExpectation("maxbytes", false), - peg$c263 = "max", - peg$c264 = peg$literalExpectation("max", false), - peg$c265 = "min", - peg$c266 = peg$literalExpectation("min", false), - peg$c267 = "pattern", - peg$c268 = peg$literalExpectation("pattern", false), - peg$c269 = /^[^\n\r\/]/, - peg$c270 = peg$classExpectation(["\n", "\r", "/"], true, false), - peg$c271 = function(pattern) { return pattern.join(''); }, - peg$c272 = /^[_]/, - peg$c273 = peg$classExpectation(["_"], false, false), - peg$c274 = /^[A-Z0-9]/, - peg$c275 = peg$classExpectation([["A", "Z"], ["0", "9"]], false, false), - peg$c276 = /^[A-Z0-9_]/, - peg$c277 = peg$classExpectation([["A", "Z"], ["0", "9"], "_"], false, false), - peg$c278 = function(underscore, head, tail) { + peg$c117 = /^[A-z0-9\-]/, + peg$c118 = peg$classExpectation([["A", "z"], ["0", "9"], "-"], false, false), + peg$c119 = function(method) { return ['*', method.toString().replace(/,/g,'')]; }, + peg$c120 = function(e, method) { return [e, method.toString().replace(/,/g,'')]; }, + peg$c121 = function() { return 'one-to-one'; }, + peg$c122 = function() { return 'one-to-many'; }, + peg$c123 = function() { return 'many-to-one'; }, + peg$c124 = function() { return 'many-to-many'; }, + peg$c125 = /^[A-Z]/, + peg$c126 = peg$classExpectation([["A", "Z"]], false, false), + peg$c127 = function(head, tail) { return `${head}${tail.join('')}`; }, + peg$c128 = function() { return { key: 'required', value: '' }; }, + peg$c129 = function(int) { return { key: 'minlength', value: int }; }, + peg$c130 = function(constantName) { return { key: 'minlength', value: constantName, constant: true }; }, + peg$c131 = function(int) { return { key: 'maxlength', value: int }; }, + peg$c132 = function(constantName) { return { key: 'maxlength', value: constantName, constant: true }; }, + peg$c133 = function(int) { return { key: 'minbytes', value: int }; }, + peg$c134 = function(constantName) { return { key: 'minbytes', value: constantName, constant: true }; }, + peg$c135 = function(int) { return { key: 'maxbytes', value: int }; }, + peg$c136 = function(constantName) { return { key: 'maxbytes', value: constantName, constant: true }; }, + peg$c137 = function(int) { return { key: 'min', value: int };}, + peg$c138 = function(constantName) { return { key: 'min', value: constantName, constant: true }; }, + peg$c139 = function(int) { return { key: 'max', value: int };}, + peg$c140 = function(constantName) { return { key: 'max', value: constantName, constant: true }; }, + peg$c141 = function(regex) { return { key: 'pattern', value: regex }; }, + peg$c142 = function(notAComment) { return notAComment.join(''); }, + peg$c143 = "/*", + peg$c144 = peg$literalExpectation("/*", false), + peg$c145 = /^[*]/, + peg$c146 = peg$classExpectation(["*"], false, false), + peg$c147 = "/", + peg$c148 = peg$literalExpectation("/", false), + peg$c149 = peg$anyExpectation(), + peg$c150 = function(char) { return char; }, + peg$c151 = "application", + peg$c152 = peg$literalExpectation("application", false), + peg$c153 = "baseName", + peg$c154 = peg$literalExpectation("baseName", false), + peg$c155 = "path", + peg$c156 = peg$literalExpectation("path", false), + peg$c157 = "packageName", + peg$c158 = peg$literalExpectation("packageName", false), + peg$c159 = "authenticationType", + peg$c160 = peg$literalExpectation("authenticationType", false), + peg$c161 = "hibernateCache", + peg$c162 = peg$literalExpectation("hibernateCache", false), + peg$c163 = "clusteredHttpSession", + peg$c164 = peg$literalExpectation("clusteredHttpSession", false), + peg$c165 = "websocket", + peg$c166 = peg$literalExpectation("websocket", false), + peg$c167 = "databaseType", + peg$c168 = peg$literalExpectation("databaseType", false), + peg$c169 = "devDatabaseType", + peg$c170 = peg$literalExpectation("devDatabaseType", false), + peg$c171 = "prodDatabaseType", + peg$c172 = peg$literalExpectation("prodDatabaseType", false), + peg$c173 = "useCompass", + peg$c174 = peg$literalExpectation("useCompass", false), + peg$c175 = "buildTool", + peg$c176 = peg$literalExpectation("buildTool", false), + peg$c177 = "searchEngine", + peg$c178 = peg$literalExpectation("searchEngine", false), + peg$c179 = "enableTranslation", + peg$c180 = peg$literalExpectation("enableTranslation", false), + peg$c181 = "applicationType", + peg$c182 = peg$literalExpectation("applicationType", false), + peg$c183 = "testFrameworks", + peg$c184 = peg$literalExpectation("testFrameworks", false), + peg$c185 = "languages", + peg$c186 = peg$literalExpectation("languages", false), + peg$c187 = "serverPort", + peg$c188 = peg$literalExpectation("serverPort", false), + peg$c189 = "enableSocialSignIn", + peg$c190 = peg$literalExpectation("enableSocialSignIn", false), + peg$c191 = "useSass", + peg$c192 = peg$literalExpectation("useSass", false), + peg$c193 = "jhiPrefix", + peg$c194 = peg$literalExpectation("jhiPrefix", false), + peg$c195 = "messageBroker", + peg$c196 = peg$literalExpectation("messageBroker", false), + peg$c197 = "serviceDiscoveryType", + peg$c198 = peg$literalExpectation("serviceDiscoveryType", false), + peg$c199 = "clientPackageManager", + peg$c200 = peg$literalExpectation("clientPackageManager", false), + peg$c201 = "clientFramework", + peg$c202 = peg$literalExpectation("clientFramework", false), + peg$c203 = "nativeLanguage", + peg$c204 = peg$literalExpectation("nativeLanguage", false), + peg$c205 = "frontendBuilder", + peg$c206 = peg$literalExpectation("frontendBuilder", false), + peg$c207 = "skipUserManagement", + peg$c208 = peg$literalExpectation("skipUserManagement", false), + peg$c209 = "entities", + peg$c210 = peg$literalExpectation("entities", false), + peg$c211 = "true", + peg$c212 = peg$literalExpectation("true", false), + peg$c213 = "false", + peg$c214 = peg$literalExpectation("false", false), + peg$c215 = "entity", + peg$c216 = peg$literalExpectation("entity", false), + peg$c217 = "relationship", + peg$c218 = peg$literalExpectation("relationship", false), + peg$c219 = "enum", + peg$c220 = peg$literalExpectation("enum", false), + peg$c221 = "OneToOne", + peg$c222 = peg$literalExpectation("OneToOne", false), + peg$c223 = "OneToMany", + peg$c224 = peg$literalExpectation("OneToMany", false), + peg$c225 = "ManyToOne", + peg$c226 = peg$literalExpectation("ManyToOne", false), + peg$c227 = "ManyToMany", + peg$c228 = peg$literalExpectation("ManyToMany", false), + peg$c229 = "all", + peg$c230 = peg$literalExpectation("all", false), + peg$c231 = "*", + peg$c232 = peg$literalExpectation("*", false), + peg$c233 = "for", + peg$c234 = peg$literalExpectation("for", false), + peg$c235 = "with", + peg$c236 = peg$literalExpectation("with", false), + peg$c237 = "except", + peg$c238 = peg$literalExpectation("except", false), + peg$c239 = "noFluentMethod", + peg$c240 = peg$literalExpectation("noFluentMethod", false), + peg$c241 = "dto", + peg$c242 = peg$literalExpectation("dto", false), + peg$c243 = "paginate", + peg$c244 = peg$literalExpectation("paginate", false), + peg$c245 = "service", + peg$c246 = peg$literalExpectation("service", false), + peg$c247 = "microservice", + peg$c248 = peg$literalExpectation("microservice", false), + peg$c249 = "search", + peg$c250 = peg$literalExpectation("search", false), + peg$c251 = "skipClient", + peg$c252 = peg$literalExpectation("skipClient", false), + peg$c253 = "skipServer", + peg$c254 = peg$literalExpectation("skipServer", false), + peg$c255 = "angularSuffix", + peg$c256 = peg$literalExpectation("angularSuffix", false), + peg$c257 = "filter", + peg$c258 = peg$literalExpectation("filter", false), + peg$c259 = "minlength", + peg$c260 = peg$literalExpectation("minlength", false), + peg$c261 = "maxlength", + peg$c262 = peg$literalExpectation("maxlength", false), + peg$c263 = "minbytes", + peg$c264 = peg$literalExpectation("minbytes", false), + peg$c265 = "maxbytes", + peg$c266 = peg$literalExpectation("maxbytes", false), + peg$c267 = "max", + peg$c268 = peg$literalExpectation("max", false), + peg$c269 = "min", + peg$c270 = peg$literalExpectation("min", false), + peg$c271 = "pattern", + peg$c272 = peg$literalExpectation("pattern", false), + peg$c273 = /^[^\n\r\/]/, + peg$c274 = peg$classExpectation(["\n", "\r", "/"], true, false), + peg$c275 = function(pattern) { return pattern.join(''); }, + peg$c276 = /^[_]/, + peg$c277 = peg$classExpectation(["_"], false, false), + peg$c278 = /^[A-Z0-9]/, + peg$c279 = peg$classExpectation([["A", "Z"], ["0", "9"]], false, false), + peg$c280 = /^[A-Z0-9_]/, + peg$c281 = peg$classExpectation([["A", "Z"], ["0", "9"], "_"], false, false), + peg$c282 = function(underscore, head, tail) { return `${underscore.join('')}${head}${tail.join('')}`; }, - peg$c279 = /^[A-Z_]/, - peg$c280 = peg$classExpectation([["A", "Z"], "_"], false, false), - peg$c281 = "-", - peg$c282 = peg$literalExpectation("-", false), - peg$c283 = function(negative, int) { return parseInt(`${(negative ? negative : '') + int.join('')}`, 10); }, - peg$c284 = /^[a-zA-Z]/, - peg$c285 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false), - peg$c286 = /^[A-z0-9()]/, - peg$c287 = peg$classExpectation([["A", "z"], ["0", "9"], "(", ")"], false, false), - peg$c288 = /^['\n'|'\t'|'\r'|' '|\u2028|\u2029]/, - peg$c289 = peg$classExpectation(["'", "\n", "'", "|", "'", "\t", "'", "|", "'", "\r", "'", "|", "'", " ", "'", "|", "\u2028", "|", "\u2029"], false, false), - peg$c290 = /^['\t'|' '|\u2028|\u2029]/, - peg$c291 = peg$classExpectation(["'", "\t", "'", "|", "'", " ", "'", "|", "\u2028", "|", "\u2029"], false, false), - peg$c292 = /^[\/]/, - peg$c293 = peg$classExpectation(["/"], false, false), + peg$c283 = /^[A-Z_]/, + peg$c284 = peg$classExpectation([["A", "Z"], "_"], false, false), + peg$c285 = "-", + peg$c286 = peg$literalExpectation("-", false), + peg$c287 = function(negative, int) { return parseInt(`${(negative ? negative : '') + int.join('')}`, 10); }, + peg$c288 = /^[a-zA-Z]/, + peg$c289 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false), + peg$c290 = /^[A-z0-9()]/, + peg$c291 = peg$classExpectation([["A", "z"], ["0", "9"], "(", ")"], false, false), + peg$c292 = /^['\n'|'\t'|'\r'|' '|\u2028|\u2029]/, + peg$c293 = peg$classExpectation(["'", "\n", "'", "|", "'", "\t", "'", "|", "'", "\r", "'", "|", "'", " ", "'", "|", "\u2028", "|", "\u2029"], false, false), + peg$c294 = /^['\t'|' '|\u2028|\u2029]/, + peg$c295 = peg$classExpectation(["'", "\t", "'", "|", "'", " ", "'", "|", "\u2028", "|", "\u2029"], false, false), + peg$c296 = /^[\/]/, + peg$c297 = peg$classExpectation(["/"], false, false), peg$currPos = 0, peg$savedPos = 0, @@ -1405,12 +1418,52 @@ function peg$parse(input, options) { } if (s0 === peg$FAILED) { s0 = peg$currPos; - s1 = peg$c16; + s1 = []; + s2 = peg$parseSPACE(); + while (s2 !== peg$FAILED) { + s1.push(s2); + s2 = peg$parseSPACE(); + } if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c17(); + s2 = peg$parsefilterDecl(); + if (s2 !== peg$FAILED) { + s3 = []; + s4 = peg$parseSPACE(); + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$parseSPACE(); + } + if (s3 !== peg$FAILED) { + s4 = peg$parseprog(); + if (s4 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c16(s2, s4); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$c17; + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c18(); + } + s0 = s1; } - s0 = s1; } } } @@ -1444,11 +1497,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 123) { - s3 = peg$c18; + s3 = peg$c19; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c19); } + if (peg$silentFails === 0) { peg$fail(peg$c20); } } if (s3 !== peg$FAILED) { s4 = []; @@ -1471,15 +1524,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 125) { - s7 = peg$c20; + s7 = peg$c21; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c21); } + if (peg$silentFails === 0) { peg$fail(peg$c22); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c22(s5); + s1 = peg$c23(s5); s0 = s1; } else { peg$currPos = s0; @@ -1527,22 +1580,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } } } else { @@ -1559,7 +1612,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c25(s3, s5); + s1 = peg$c26(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -1593,22 +1646,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c26.test(input.charAt(peg$currPos))) { + if (peg$c27.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c27); } + if (peg$silentFails === 0) { peg$fail(peg$c28); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c26.test(input.charAt(peg$currPos))) { + if (peg$c27.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c27); } + if (peg$silentFails === 0) { peg$fail(peg$c28); } } } } else { @@ -1625,7 +1678,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c28(s3, s5); + s1 = peg$c29(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -1662,22 +1715,22 @@ function peg$parse(input, options) { s4 = []; s5 = peg$currPos; s6 = []; - if (peg$c29.test(input.charAt(peg$currPos))) { + if (peg$c30.test(input.charAt(peg$currPos))) { s7 = input.charAt(peg$currPos); peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c30); } + if (peg$silentFails === 0) { peg$fail(peg$c31); } } if (s7 !== peg$FAILED) { while (s7 !== peg$FAILED) { s6.push(s7); - if (peg$c29.test(input.charAt(peg$currPos))) { + if (peg$c30.test(input.charAt(peg$currPos))) { s7 = input.charAt(peg$currPos); peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c30); } + if (peg$silentFails === 0) { peg$fail(peg$c31); } } } } else { @@ -1685,11 +1738,11 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 46) { - s7 = peg$c31; + s7 = peg$c32; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c32); } + if (peg$silentFails === 0) { peg$fail(peg$c33); } } if (s7 !== peg$FAILED) { s6 = [s6, s7]; @@ -1706,22 +1759,22 @@ function peg$parse(input, options) { s4.push(s5); s5 = peg$currPos; s6 = []; - if (peg$c29.test(input.charAt(peg$currPos))) { + if (peg$c30.test(input.charAt(peg$currPos))) { s7 = input.charAt(peg$currPos); peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c30); } + if (peg$silentFails === 0) { peg$fail(peg$c31); } } if (s7 !== peg$FAILED) { while (s7 !== peg$FAILED) { s6.push(s7); - if (peg$c29.test(input.charAt(peg$currPos))) { + if (peg$c30.test(input.charAt(peg$currPos))) { s7 = input.charAt(peg$currPos); peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c30); } + if (peg$silentFails === 0) { peg$fail(peg$c31); } } } } else { @@ -1729,11 +1782,11 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 46) { - s7 = peg$c31; + s7 = peg$c32; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c32); } + if (peg$silentFails === 0) { peg$fail(peg$c33); } } if (s7 !== peg$FAILED) { s6 = [s6, s7]; @@ -1749,22 +1802,22 @@ function peg$parse(input, options) { } if (s4 !== peg$FAILED) { s5 = []; - if (peg$c29.test(input.charAt(peg$currPos))) { + if (peg$c30.test(input.charAt(peg$currPos))) { s6 = input.charAt(peg$currPos); peg$currPos++; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c30); } + if (peg$silentFails === 0) { peg$fail(peg$c31); } } if (s6 !== peg$FAILED) { while (s6 !== peg$FAILED) { s5.push(s6); - if (peg$c29.test(input.charAt(peg$currPos))) { + if (peg$c30.test(input.charAt(peg$currPos))) { s6 = input.charAt(peg$currPos); peg$currPos++; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c30); } + if (peg$silentFails === 0) { peg$fail(peg$c31); } } } } else { @@ -1792,7 +1845,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c33(s3, s5); + s1 = peg$c34(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -1826,22 +1879,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } } } else { @@ -1858,7 +1911,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c34(s3, s5); + s1 = peg$c35(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -1892,22 +1945,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } } } else { @@ -1924,7 +1977,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c35(s3, s5); + s1 = peg$c36(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -1958,22 +2011,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } } } else { @@ -1990,7 +2043,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c36(s3, s5); + s1 = peg$c37(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2024,22 +2077,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } } } else { @@ -2056,7 +2109,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c37(s3, s5); + s1 = peg$c38(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2090,22 +2143,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c29.test(input.charAt(peg$currPos))) { + if (peg$c30.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c30); } + if (peg$silentFails === 0) { peg$fail(peg$c31); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c29.test(input.charAt(peg$currPos))) { + if (peg$c30.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c30); } + if (peg$silentFails === 0) { peg$fail(peg$c31); } } } } else { @@ -2122,7 +2175,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c38(s3, s5); + s1 = peg$c39(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2156,22 +2209,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } } } else { @@ -2188,7 +2241,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c41(s3, s5); + s1 = peg$c42(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2222,22 +2275,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } } } else { @@ -2254,7 +2307,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c42(s3, s5); + s1 = peg$c43(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2299,7 +2352,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c43(s3, s5); + s1 = peg$c44(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2333,22 +2386,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } } } else { @@ -2365,7 +2418,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c44(s3, s5); + s1 = peg$c45(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2410,7 +2463,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c45(s3, s5); + s1 = peg$c46(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2455,7 +2508,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c46(s3, s5); + s1 = peg$c47(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2489,22 +2542,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c29.test(input.charAt(peg$currPos))) { + if (peg$c30.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c30); } + if (peg$silentFails === 0) { peg$fail(peg$c31); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c29.test(input.charAt(peg$currPos))) { + if (peg$c30.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c30); } + if (peg$silentFails === 0) { peg$fail(peg$c31); } } } } else { @@ -2521,7 +2574,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c47(s3, s5); + s1 = peg$c48(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2555,22 +2608,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c48.test(input.charAt(peg$currPos))) { + if (peg$c49.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c49); } + if (peg$silentFails === 0) { peg$fail(peg$c50); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c48.test(input.charAt(peg$currPos))) { + if (peg$c49.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c49); } + if (peg$silentFails === 0) { peg$fail(peg$c50); } } } } else { @@ -2587,7 +2640,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c50(s3, s5); + s1 = peg$c51(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2621,22 +2674,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c48.test(input.charAt(peg$currPos))) { + if (peg$c49.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c49); } + if (peg$silentFails === 0) { peg$fail(peg$c50); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c48.test(input.charAt(peg$currPos))) { + if (peg$c49.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c49); } + if (peg$silentFails === 0) { peg$fail(peg$c50); } } } } else { @@ -2653,7 +2706,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c51(s3, s5); + s1 = peg$c52(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2687,22 +2740,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c52.test(input.charAt(peg$currPos))) { + if (peg$c53.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c53); } + if (peg$silentFails === 0) { peg$fail(peg$c54); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c52.test(input.charAt(peg$currPos))) { + if (peg$c53.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c53); } + if (peg$silentFails === 0) { peg$fail(peg$c54); } } } } else { @@ -2719,7 +2772,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c54(s3, s5); + s1 = peg$c55(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2764,7 +2817,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c55(s3, s5); + s1 = peg$c56(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2809,7 +2862,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c56(s3, s5); + s1 = peg$c57(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2843,22 +2896,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c57.test(input.charAt(peg$currPos))) { + if (peg$c58.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c58); } + if (peg$silentFails === 0) { peg$fail(peg$c59); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c57.test(input.charAt(peg$currPos))) { + if (peg$c58.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c58); } + if (peg$silentFails === 0) { peg$fail(peg$c59); } } } } else { @@ -2875,7 +2928,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c59(s3, s5); + s1 = peg$c60(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2920,7 +2973,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c60(s3, s5); + s1 = peg$c61(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2954,22 +3007,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } } } else { @@ -2986,7 +3039,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c61(s3, s5); + s1 = peg$c62(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3020,22 +3073,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } } } else { @@ -3052,7 +3105,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c62(s3, s5); + s1 = peg$c63(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3086,22 +3139,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } } } else { @@ -3118,7 +3171,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c63(s3, s5); + s1 = peg$c64(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3152,22 +3205,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c29.test(input.charAt(peg$currPos))) { + if (peg$c30.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c30); } + if (peg$silentFails === 0) { peg$fail(peg$c31); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c29.test(input.charAt(peg$currPos))) { + if (peg$c30.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c30); } + if (peg$silentFails === 0) { peg$fail(peg$c31); } } } } else { @@ -3177,7 +3230,7 @@ function peg$parse(input, options) { s4 = peg$parseapplicationContentDecl(); if (s4 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c64(s3, s4); + s1 = peg$c65(s3, s4); s0 = s1; } else { peg$currPos = s0; @@ -3207,22 +3260,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c23.test(input.charAt(peg$currPos))) { + if (peg$c24.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c24); } + if (peg$silentFails === 0) { peg$fail(peg$c25); } } } } else { @@ -3232,7 +3285,7 @@ function peg$parse(input, options) { s4 = peg$parseapplicationContentDecl(); if (s4 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c65(s3, s4); + s1 = peg$c66(s3, s4); s0 = s1; } else { peg$currPos = s0; @@ -3273,7 +3326,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c66(s3, s5); + s1 = peg$c67(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3318,7 +3371,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c67(s3, s5); + s1 = peg$c68(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3363,7 +3416,7 @@ function peg$parse(input, options) { s5 = peg$parseapplicationContentDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c68(s3, s5); + s1 = peg$c69(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3424,7 +3477,7 @@ function peg$parse(input, options) { s7 = peg$parseapplicationContentDecl(); if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c69(s3, s5, s7); + s1 = peg$c70(s3, s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -3468,7 +3521,7 @@ function peg$parse(input, options) { s3 = peg$parseapplicationContentDecl(); if (s3 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c70(s3); + s1 = peg$c71(s3); s0 = s1; } else { peg$currPos = s0; @@ -3483,7 +3536,7 @@ function peg$parse(input, options) { s0 = peg$FAILED; } if (s0 === peg$FAILED) { - s0 = peg$c16; + s0 = peg$c17; } } } @@ -3527,7 +3580,7 @@ function peg$parse(input, options) { s1 = peg$parseTRUE(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c71(); + s1 = peg$c72(); } s0 = s1; if (s0 === peg$FAILED) { @@ -3535,7 +3588,7 @@ function peg$parse(input, options) { s1 = peg$parseFALSE(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c72(); + s1 = peg$c73(); } s0 = s1; } @@ -3557,11 +3610,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 61) { - s3 = peg$c73; + s3 = peg$c74; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c74); } + if (peg$silentFails === 0) { peg$fail(peg$c75); } } if (s3 !== peg$FAILED) { s4 = []; @@ -3574,7 +3627,7 @@ function peg$parse(input, options) { s5 = peg$parseINTEGER(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c75(s1, s5); + s1 = peg$c76(s1, s5); s0 = s1; } else { peg$currPos = s0; @@ -3659,7 +3712,7 @@ function peg$parse(input, options) { } if (s10 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c76(s1, s5, s7, s9); + s1 = peg$c77(s1, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -3727,7 +3780,7 @@ function peg$parse(input, options) { } if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c77(s3, s5); + s1 = peg$c78(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3759,11 +3812,11 @@ function peg$parse(input, options) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 40) { - s1 = peg$c78; + s1 = peg$c79; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s1 !== peg$FAILED) { s2 = []; @@ -3774,22 +3827,22 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c57.test(input.charAt(peg$currPos))) { + if (peg$c58.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c58); } + if (peg$silentFails === 0) { peg$fail(peg$c59); } } if (s4 !== peg$FAILED) { while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c57.test(input.charAt(peg$currPos))) { + if (peg$c58.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c58); } + if (peg$silentFails === 0) { peg$fail(peg$c59); } } } } else { @@ -3804,15 +3857,15 @@ function peg$parse(input, options) { } if (s4 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s5 = peg$c80; + s5 = peg$c81; peg$currPos++; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c82(s3); + s1 = peg$c83(s3); s0 = s1; } else { peg$currPos = s0; @@ -3843,11 +3896,11 @@ function peg$parse(input, options) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 123) { - s1 = peg$c18; + s1 = peg$c19; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c19); } + if (peg$silentFails === 0) { peg$fail(peg$c20); } } if (s1 !== peg$FAILED) { s2 = []; @@ -3867,15 +3920,15 @@ function peg$parse(input, options) { } if (s4 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 125) { - s5 = peg$c20; + s5 = peg$c21; peg$currPos++; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c21); } + if (peg$silentFails === 0) { peg$fail(peg$c22); } } if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c83(s3); + s1 = peg$c84(s3); s0 = s1; } else { peg$currPos = s0; @@ -3899,10 +3952,10 @@ function peg$parse(input, options) { } if (s0 === peg$FAILED) { s0 = peg$currPos; - s1 = peg$c16; + s1 = peg$c17; if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c84(); + s1 = peg$c85(); } s0 = s1; } @@ -3976,11 +4029,11 @@ function peg$parse(input, options) { } if (s11 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 44) { - s12 = peg$c85; + s12 = peg$c86; peg$currPos++; } else { s12 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c86); } + if (peg$silentFails === 0) { peg$fail(peg$c87); } } if (s12 === peg$FAILED) { s12 = null; @@ -3996,7 +4049,7 @@ function peg$parse(input, options) { s14 = peg$parsefieldDeclList(); if (s14 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c87(s2, s4, s6, s8, s10, s14); + s1 = peg$c88(s2, s4, s6, s8, s10, s14); s0 = s1; } else { peg$currPos = s0; @@ -4056,10 +4109,10 @@ function peg$parse(input, options) { } if (s0 === peg$FAILED) { s0 = peg$currPos; - s1 = peg$c16; + s1 = peg$c17; if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c84(); + s1 = peg$c85(); } s0 = s1; } @@ -4083,7 +4136,7 @@ function peg$parse(input, options) { s3 = peg$parsevalidationList(); if (s3 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c88(s1, s3); + s1 = peg$c89(s1, s3); s0 = s1; } else { peg$currPos = s0; @@ -4099,10 +4152,10 @@ function peg$parse(input, options) { } if (s0 === peg$FAILED) { s0 = peg$currPos; - s1 = peg$c16; + s1 = peg$c17; if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c84(); + s1 = peg$c85(); } s0 = s1; } @@ -4128,11 +4181,11 @@ function peg$parse(input, options) { } if (s4 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 123) { - s5 = peg$c18; + s5 = peg$c19; peg$currPos++; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c19); } + if (peg$silentFails === 0) { peg$fail(peg$c20); } } if (s5 !== peg$FAILED) { s6 = []; @@ -4152,15 +4205,15 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 125) { - s9 = peg$c20; + s9 = peg$c21; peg$currPos++; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c21); } + if (peg$silentFails === 0) { peg$fail(peg$c22); } } if (s9 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c89(s3, s7); + s1 = peg$c90(s3, s7); s0 = s1; } else { peg$currPos = s0; @@ -4216,11 +4269,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 44) { - s3 = peg$c85; + s3 = peg$c86; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c86); } + if (peg$silentFails === 0) { peg$fail(peg$c87); } } if (s3 === peg$FAILED) { s3 = null; @@ -4236,7 +4289,7 @@ function peg$parse(input, options) { s5 = peg$parserelationshipBodies(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c90(s1, s5); + s1 = peg$c91(s1, s5); s0 = s1; } else { peg$currPos = s0; @@ -4263,7 +4316,7 @@ function peg$parse(input, options) { s1 = peg$parserelationshipBody(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c91(s1); + s1 = peg$c92(s1); } s0 = s1; } @@ -4284,12 +4337,12 @@ function peg$parse(input, options) { s3 = peg$parseSPACE(); } if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c92) { - s3 = peg$c92; + if (input.substr(peg$currPos, 2) === peg$c93) { + s3 = peg$c93; peg$currPos += 2; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c93); } + if (peg$silentFails === 0) { peg$fail(peg$c94); } } if (s3 !== peg$FAILED) { s4 = []; @@ -4309,7 +4362,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c94(s1, s5); + s1 = peg$c95(s1, s5); s0 = s1; } else { peg$currPos = s0; @@ -4365,11 +4418,11 @@ function peg$parse(input, options) { } if (s4 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 123) { - s5 = peg$c18; + s5 = peg$c19; peg$currPos++; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c19); } + if (peg$silentFails === 0) { peg$fail(peg$c20); } } if (s5 !== peg$FAILED) { s6 = []; @@ -4388,23 +4441,23 @@ function peg$parse(input, options) { s9 = peg$parseSPACE(); } if (s8 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c95) { - s9 = peg$c95; + if (input.substr(peg$currPos, 8) === peg$c96) { + s9 = peg$c96; peg$currPos += 8; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c96); } + if (peg$silentFails === 0) { peg$fail(peg$c97); } } if (s9 === peg$FAILED) { s9 = null; } if (s9 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 125) { - s10 = peg$c20; + s10 = peg$c21; peg$currPos++; } else { s10 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c21); } + if (peg$silentFails === 0) { peg$fail(peg$c22); } } if (s10 !== peg$FAILED) { s11 = []; @@ -4415,7 +4468,7 @@ function peg$parse(input, options) { } if (s11 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c97(s1, s3, s7, s9); + s1 = peg$c98(s1, s3, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -4486,11 +4539,11 @@ function peg$parse(input, options) { if (s4 !== peg$FAILED) { s5 = peg$currPos; if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c18; + s6 = peg$c19; peg$currPos++; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c19); } + if (peg$silentFails === 0) { peg$fail(peg$c20); } } if (s6 !== peg$FAILED) { s7 = []; @@ -4501,11 +4554,11 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 125) { - s8 = peg$c20; + s8 = peg$c21; peg$currPos++; } else { s8 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c21); } + if (peg$silentFails === 0) { peg$fail(peg$c22); } } if (s8 !== peg$FAILED) { s6 = [s6, s7, s8]; @@ -4534,7 +4587,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c98(s1, s3); + s1 = peg$c99(s1, s3); s0 = s1; } else { peg$currPos = s0; @@ -4567,7 +4620,7 @@ function peg$parse(input, options) { s2 = peg$parseSPACE(); if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c99(s1); + s1 = peg$c100(s1); s0 = s1; } else { peg$currPos = s0; @@ -4601,11 +4654,11 @@ function peg$parse(input, options) { } if (s4 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 123) { - s5 = peg$c18; + s5 = peg$c19; peg$currPos++; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c19); } + if (peg$silentFails === 0) { peg$fail(peg$c20); } } if (s5 !== peg$FAILED) { s6 = []; @@ -4625,15 +4678,15 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 125) { - s9 = peg$c20; + s9 = peg$c21; peg$currPos++; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c21); } + if (peg$silentFails === 0) { peg$fail(peg$c22); } } if (s9 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c100(s3, s7); + s1 = peg$c101(s3, s7); s0 = s1; } else { peg$currPos = s0; @@ -4689,11 +4742,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 44) { - s3 = peg$c85; + s3 = peg$c86; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c86); } + if (peg$silentFails === 0) { peg$fail(peg$c87); } } if (s3 !== peg$FAILED) { s4 = []; @@ -4706,7 +4759,7 @@ function peg$parse(input, options) { s5 = peg$parseenumPropList(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c101(s1, s5); + s1 = peg$c102(s1, s5); s0 = s1; } else { peg$currPos = s0; @@ -4733,7 +4786,7 @@ function peg$parse(input, options) { s1 = peg$parseENUMPROP(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c102(s1); + s1 = peg$c103(s1); } s0 = s1; } @@ -4761,7 +4814,7 @@ function peg$parse(input, options) { s3 = peg$parseexclusionSub(); if (s3 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c103(s3); + s1 = peg$c104(s3); s0 = s1; } else { peg$currPos = s0; @@ -4793,11 +4846,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 44) { - s3 = peg$c85; + s3 = peg$c86; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c86); } + if (peg$silentFails === 0) { peg$fail(peg$c87); } } if (s3 !== peg$FAILED) { s4 = []; @@ -4810,7 +4863,7 @@ function peg$parse(input, options) { s5 = peg$parseexclusionSub(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c104(s1, s5); + s1 = peg$c105(s1, s5); s0 = s1; } else { peg$currPos = s0; @@ -4837,7 +4890,7 @@ function peg$parse(input, options) { s1 = peg$parseENTITY_NAME(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c102(s1); + s1 = peg$c103(s1); } s0 = s1; } @@ -4888,7 +4941,7 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c105(s5, s7); + s1 = peg$c106(s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -4940,11 +4993,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 44) { - s3 = peg$c85; + s3 = peg$c86; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c86); } + if (peg$silentFails === 0) { peg$fail(peg$c87); } } if (s3 !== peg$FAILED) { s4 = []; @@ -4957,7 +5010,7 @@ function peg$parse(input, options) { s5 = peg$parsesubNoFluentMethod(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c104(s1, s5); + s1 = peg$c105(s1, s5); s0 = s1; } else { peg$currPos = s0; @@ -4984,7 +5037,7 @@ function peg$parse(input, options) { s1 = peg$parseSTAR(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c106(); + s1 = peg$c107(); } s0 = s1; if (s0 === peg$FAILED) { @@ -4992,7 +5045,7 @@ function peg$parse(input, options) { s1 = peg$parseALL(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c106(); + s1 = peg$c107(); } s0 = s1; if (s0 === peg$FAILED) { @@ -5000,7 +5053,7 @@ function peg$parse(input, options) { s1 = peg$parseENTITY_NAME(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c102(s1); + s1 = peg$c103(s1); } s0 = s1; } @@ -5049,7 +5102,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c107(s3, s5); + s1 = peg$c108(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -5118,7 +5171,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c108(s3, s5); + s1 = peg$c109(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -5187,7 +5240,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c109(s3, s5); + s1 = peg$c110(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -5256,7 +5309,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c110(s3, s5); + s1 = peg$c111(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -5325,7 +5378,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c111(s3, s5); + s1 = peg$c112(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -5394,7 +5447,7 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c112(s5, s7); + s1 = peg$c113(s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -5446,11 +5499,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 44) { - s3 = peg$c85; + s3 = peg$c86; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c86); } + if (peg$silentFails === 0) { peg$fail(peg$c87); } } if (s3 !== peg$FAILED) { s4 = []; @@ -5463,7 +5516,7 @@ function peg$parse(input, options) { s5 = peg$parsesubNoClientDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c104(s1, s5); + s1 = peg$c105(s1, s5); s0 = s1; } else { peg$currPos = s0; @@ -5490,7 +5543,7 @@ function peg$parse(input, options) { s1 = peg$parseSTAR(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c106(); + s1 = peg$c107(); } s0 = s1; if (s0 === peg$FAILED) { @@ -5498,7 +5551,7 @@ function peg$parse(input, options) { s1 = peg$parseALL(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c106(); + s1 = peg$c107(); } s0 = s1; if (s0 === peg$FAILED) { @@ -5506,7 +5559,7 @@ function peg$parse(input, options) { s1 = peg$parseENTITY_NAME(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c102(s1); + s1 = peg$c103(s1); } s0 = s1; } @@ -5555,7 +5608,7 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c113(s5, s7); + s1 = peg$c114(s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -5607,11 +5660,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 44) { - s3 = peg$c85; + s3 = peg$c86; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c86); } + if (peg$silentFails === 0) { peg$fail(peg$c87); } } if (s3 !== peg$FAILED) { s4 = []; @@ -5624,7 +5677,151 @@ function peg$parse(input, options) { s5 = peg$parsesubNoServerDecl(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c104(s1, s5); + s1 = peg$c105(s1, s5); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseSTAR(); + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c107(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseALL(); + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c107(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseENTITY_NAME(); + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c103(s1); + } + s0 = s1; + } + } + } + + return s0; + } + + function peg$parsefilterDecl() { + var s0, s1, s2, s3, s4, s5, s6, s7; + + s0 = peg$currPos; + s1 = peg$parseFILTER(); + if (s1 !== peg$FAILED) { + s2 = peg$parseSPACE(); + if (s2 !== peg$FAILED) { + s3 = peg$parsesubFilterDecl(); + if (s3 !== peg$FAILED) { + s4 = []; + s5 = peg$parseSPACE(); + while (s5 !== peg$FAILED) { + s4.push(s5); + s5 = peg$parseSPACE(); + } + if (s4 !== peg$FAILED) { + s5 = peg$parseexclusion(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = []; + s7 = peg$parseSPACE(); + while (s7 !== peg$FAILED) { + s6.push(s7); + s7 = peg$parseSPACE(); + } + if (s6 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c115(s3, s5); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } else { + peg$currPos = s0; + s0 = peg$FAILED; + } + + return s0; + } + + function peg$parsesubFilterDecl() { + var s0, s1, s2, s3, s4, s5; + + s0 = peg$currPos; + s1 = peg$parseENTITY_NAME(); + if (s1 !== peg$FAILED) { + s2 = []; + s3 = peg$parseSPACE(); + while (s3 !== peg$FAILED) { + s2.push(s3); + s3 = peg$parseSPACE(); + } + if (s2 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 44) { + s3 = peg$c86; + peg$currPos++; + } else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c87); } + } + if (s3 !== peg$FAILED) { + s4 = []; + s5 = peg$parseSPACE(); + while (s5 !== peg$FAILED) { + s4.push(s5); + s5 = peg$parseSPACE(); + } + if (s4 !== peg$FAILED) { + s5 = peg$parsesubFilterDecl(); + if (s5 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c105(s1, s5); s0 = s1; } else { peg$currPos = s0; @@ -5651,7 +5848,7 @@ function peg$parse(input, options) { s1 = peg$parseSTAR(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c106(); + s1 = peg$c107(); } s0 = s1; if (s0 === peg$FAILED) { @@ -5659,7 +5856,7 @@ function peg$parse(input, options) { s1 = peg$parseALL(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c106(); + s1 = peg$c107(); } s0 = s1; if (s0 === peg$FAILED) { @@ -5667,7 +5864,7 @@ function peg$parse(input, options) { s1 = peg$parseENTITY_NAME(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c102(s1); + s1 = peg$c103(s1); } s0 = s1; } @@ -5712,7 +5909,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c114(s3, s5); + s1 = peg$c116(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -5756,11 +5953,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 44) { - s3 = peg$c85; + s3 = peg$c86; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c86); } + if (peg$silentFails === 0) { peg$fail(peg$c87); } } if (s3 !== peg$FAILED) { s4 = []; @@ -5773,7 +5970,7 @@ function peg$parse(input, options) { s5 = peg$parseentityList(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c104(s1, s5); + s1 = peg$c105(s1, s5); s0 = s1; } else { peg$currPos = s0; @@ -5816,22 +6013,22 @@ function peg$parse(input, options) { } if (s4 !== peg$FAILED) { s5 = []; - if (peg$c115.test(input.charAt(peg$currPos))) { + if (peg$c117.test(input.charAt(peg$currPos))) { s6 = input.charAt(peg$currPos); peg$currPos++; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c116); } + if (peg$silentFails === 0) { peg$fail(peg$c118); } } if (s6 !== peg$FAILED) { while (s6 !== peg$FAILED) { s5.push(s6); - if (peg$c115.test(input.charAt(peg$currPos))) { + if (peg$c117.test(input.charAt(peg$currPos))) { s6 = input.charAt(peg$currPos); peg$currPos++; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c116); } + if (peg$silentFails === 0) { peg$fail(peg$c118); } } } } else { @@ -5839,7 +6036,7 @@ function peg$parse(input, options) { } if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c117(s5); + s1 = peg$c119(s5); s0 = s1; } else { peg$currPos = s0; @@ -5882,22 +6079,22 @@ function peg$parse(input, options) { } if (s4 !== peg$FAILED) { s5 = []; - if (peg$c115.test(input.charAt(peg$currPos))) { + if (peg$c117.test(input.charAt(peg$currPos))) { s6 = input.charAt(peg$currPos); peg$currPos++; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c116); } + if (peg$silentFails === 0) { peg$fail(peg$c118); } } if (s6 !== peg$FAILED) { while (s6 !== peg$FAILED) { s5.push(s6); - if (peg$c115.test(input.charAt(peg$currPos))) { + if (peg$c117.test(input.charAt(peg$currPos))) { s6 = input.charAt(peg$currPos); peg$currPos++; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c116); } + if (peg$silentFails === 0) { peg$fail(peg$c118); } } } } else { @@ -5905,7 +6102,7 @@ function peg$parse(input, options) { } if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c117(s5); + s1 = peg$c119(s5); s0 = s1; } else { peg$currPos = s0; @@ -5948,22 +6145,22 @@ function peg$parse(input, options) { } if (s4 !== peg$FAILED) { s5 = []; - if (peg$c115.test(input.charAt(peg$currPos))) { + if (peg$c117.test(input.charAt(peg$currPos))) { s6 = input.charAt(peg$currPos); peg$currPos++; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c116); } + if (peg$silentFails === 0) { peg$fail(peg$c118); } } if (s6 !== peg$FAILED) { while (s6 !== peg$FAILED) { s5.push(s6); - if (peg$c115.test(input.charAt(peg$currPos))) { + if (peg$c117.test(input.charAt(peg$currPos))) { s6 = input.charAt(peg$currPos); peg$currPos++; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c116); } + if (peg$silentFails === 0) { peg$fail(peg$c118); } } } } else { @@ -5971,7 +6168,7 @@ function peg$parse(input, options) { } if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c118(s1, s5); + s1 = peg$c120(s1, s5); s0 = s1; } else { peg$currPos = s0; @@ -6014,11 +6211,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 44) { - s3 = peg$c85; + s3 = peg$c86; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c86); } + if (peg$silentFails === 0) { peg$fail(peg$c87); } } if (s3 !== peg$FAILED) { s4 = []; @@ -6031,7 +6228,7 @@ function peg$parse(input, options) { s5 = peg$parsesimpleEntityList(); if (s5 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c104(s1, s5); + s1 = peg$c105(s1, s5); s0 = s1; } else { peg$currPos = s0; @@ -6065,7 +6262,7 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c106(); + s1 = peg$c107(); s0 = s1; } else { peg$currPos = s0; @@ -6087,7 +6284,7 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c106(); + s1 = peg$c107(); s0 = s1; } else { peg$currPos = s0; @@ -6109,7 +6306,7 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c102(s1); + s1 = peg$c103(s1); s0 = s1; } else { peg$currPos = s0; @@ -6133,7 +6330,7 @@ function peg$parse(input, options) { s1 = peg$parseONE_TO_ONE(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c119(); + s1 = peg$c121(); } s0 = s1; if (s0 === peg$FAILED) { @@ -6141,7 +6338,7 @@ function peg$parse(input, options) { s1 = peg$parseONE_TO_MANY(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c120(); + s1 = peg$c122(); } s0 = s1; if (s0 === peg$FAILED) { @@ -6149,7 +6346,7 @@ function peg$parse(input, options) { s1 = peg$parseMANY_TO_ONE(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c121(); + s1 = peg$c123(); } s0 = s1; if (s0 === peg$FAILED) { @@ -6157,7 +6354,7 @@ function peg$parse(input, options) { s1 = peg$parseMANY_TO_MANY(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c122(); + s1 = peg$c124(); } s0 = s1; } @@ -6171,35 +6368,35 @@ function peg$parse(input, options) { var s0, s1, s2, s3; s0 = peg$currPos; - if (peg$c123.test(input.charAt(peg$currPos))) { + if (peg$c125.test(input.charAt(peg$currPos))) { s1 = input.charAt(peg$currPos); peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c124); } + if (peg$silentFails === 0) { peg$fail(peg$c126); } } if (s1 !== peg$FAILED) { s2 = []; - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } while (s3 !== peg$FAILED) { s2.push(s3); - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } } if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c125(s1, s2); + s1 = peg$c127(s1, s2); s0 = s1; } else { peg$currPos = s0; @@ -6220,7 +6417,7 @@ function peg$parse(input, options) { s1 = peg$parseREQUIRED(); if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c126(); + s1 = peg$c128(); } s0 = s1; if (s0 === peg$FAILED) { @@ -6235,11 +6432,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -6259,15 +6456,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s7 = peg$c80; + s7 = peg$c81; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c127(s5); + s1 = peg$c129(s5); s0 = s1; } else { peg$currPos = s0; @@ -6309,11 +6506,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -6333,15 +6530,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s7 = peg$c80; + s7 = peg$c81; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c128(s5); + s1 = peg$c130(s5); s0 = s1; } else { peg$currPos = s0; @@ -6383,11 +6580,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -6407,15 +6604,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s7 = peg$c80; + s7 = peg$c81; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c129(s5); + s1 = peg$c131(s5); s0 = s1; } else { peg$currPos = s0; @@ -6457,11 +6654,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -6481,15 +6678,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s7 = peg$c80; + s7 = peg$c81; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c130(s5); + s1 = peg$c132(s5); s0 = s1; } else { peg$currPos = s0; @@ -6531,11 +6728,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -6555,15 +6752,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s7 = peg$c80; + s7 = peg$c81; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c131(s5); + s1 = peg$c133(s5); s0 = s1; } else { peg$currPos = s0; @@ -6605,11 +6802,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -6629,15 +6826,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s7 = peg$c80; + s7 = peg$c81; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c132(s5); + s1 = peg$c134(s5); s0 = s1; } else { peg$currPos = s0; @@ -6679,11 +6876,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -6703,15 +6900,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s7 = peg$c80; + s7 = peg$c81; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c133(s5); + s1 = peg$c135(s5); s0 = s1; } else { peg$currPos = s0; @@ -6753,11 +6950,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -6777,15 +6974,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s7 = peg$c80; + s7 = peg$c81; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c134(s5); + s1 = peg$c136(s5); s0 = s1; } else { peg$currPos = s0; @@ -6827,11 +7024,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -6851,15 +7048,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s7 = peg$c80; + s7 = peg$c81; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c135(s5); + s1 = peg$c137(s5); s0 = s1; } else { peg$currPos = s0; @@ -6901,11 +7098,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -6925,15 +7122,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s7 = peg$c80; + s7 = peg$c81; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c136(s5); + s1 = peg$c138(s5); s0 = s1; } else { peg$currPos = s0; @@ -6975,11 +7172,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -6999,15 +7196,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s7 = peg$c80; + s7 = peg$c81; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c137(s5); + s1 = peg$c139(s5); s0 = s1; } else { peg$currPos = s0; @@ -7049,11 +7246,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -7073,15 +7270,15 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s7 = peg$c80; + s7 = peg$c81; peg$currPos++; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c138(s5); + s1 = peg$c140(s5); s0 = s1; } else { peg$currPos = s0; @@ -7123,11 +7320,11 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 40) { - s3 = peg$c78; + s3 = peg$c79; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c79); } + if (peg$silentFails === 0) { peg$fail(peg$c80); } } if (s3 !== peg$FAILED) { s4 = []; @@ -7151,15 +7348,15 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 41) { - s9 = peg$c80; + s9 = peg$c81; peg$currPos++; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c81); } + if (peg$silentFails === 0) { peg$fail(peg$c82); } } if (s9 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c139(s6); + s1 = peg$c141(s6); s0 = s1; } else { peg$currPos = s0; @@ -7230,7 +7427,7 @@ function peg$parse(input, options) { s3 = peg$parsecommentStop(); if (s3 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c140(s2); + s1 = peg$c142(s2); s0 = s1; } else { peg$currPos = s0; @@ -7252,30 +7449,30 @@ function peg$parse(input, options) { var s0, s1, s2, s3; s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c141) { - s1 = peg$c141; + if (input.substr(peg$currPos, 2) === peg$c143) { + s1 = peg$c143; peg$currPos += 2; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c142); } + if (peg$silentFails === 0) { peg$fail(peg$c144); } } if (s1 !== peg$FAILED) { s2 = []; - if (peg$c143.test(input.charAt(peg$currPos))) { + if (peg$c145.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c144); } + if (peg$silentFails === 0) { peg$fail(peg$c146); } } while (s3 !== peg$FAILED) { s2.push(s3); - if (peg$c143.test(input.charAt(peg$currPos))) { + if (peg$c145.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c144); } + if (peg$silentFails === 0) { peg$fail(peg$c146); } } } if (s2 !== peg$FAILED) { @@ -7298,22 +7495,22 @@ function peg$parse(input, options) { s0 = peg$currPos; s1 = []; - if (peg$c143.test(input.charAt(peg$currPos))) { + if (peg$c145.test(input.charAt(peg$currPos))) { s2 = input.charAt(peg$currPos); peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c144); } + if (peg$silentFails === 0) { peg$fail(peg$c146); } } if (s2 !== peg$FAILED) { while (s2 !== peg$FAILED) { s1.push(s2); - if (peg$c143.test(input.charAt(peg$currPos))) { + if (peg$c145.test(input.charAt(peg$currPos))) { s2 = input.charAt(peg$currPos); peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c144); } + if (peg$silentFails === 0) { peg$fail(peg$c146); } } } } else { @@ -7321,11 +7518,11 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 47) { - s2 = peg$c145; + s2 = peg$c147; peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c146); } + if (peg$silentFails === 0) { peg$fail(peg$c148); } } if (s2 !== peg$FAILED) { s1 = [s1, s2]; @@ -7373,11 +7570,11 @@ function peg$parse(input, options) { peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c147); } + if (peg$silentFails === 0) { peg$fail(peg$c149); } } if (s3 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c148(s3); + s1 = peg$c150(s3); s0 = s1; } else { peg$currPos = s0; @@ -7398,12 +7595,12 @@ function peg$parse(input, options) { function peg$parseAPPLICATION() { var s0; - if (input.substr(peg$currPos, 11) === peg$c149) { - s0 = peg$c149; + if (input.substr(peg$currPos, 11) === peg$c151) { + s0 = peg$c151; peg$currPos += 11; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c150); } + if (peg$silentFails === 0) { peg$fail(peg$c152); } } return s0; @@ -7412,12 +7609,12 @@ function peg$parse(input, options) { function peg$parseBASE_NAME() { var s0; - if (input.substr(peg$currPos, 8) === peg$c151) { - s0 = peg$c151; + if (input.substr(peg$currPos, 8) === peg$c153) { + s0 = peg$c153; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c152); } + if (peg$silentFails === 0) { peg$fail(peg$c154); } } return s0; @@ -7426,12 +7623,12 @@ function peg$parse(input, options) { function peg$parsePATH() { var s0; - if (input.substr(peg$currPos, 4) === peg$c153) { - s0 = peg$c153; + if (input.substr(peg$currPos, 4) === peg$c155) { + s0 = peg$c155; peg$currPos += 4; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c154); } + if (peg$silentFails === 0) { peg$fail(peg$c156); } } return s0; @@ -7440,12 +7637,12 @@ function peg$parse(input, options) { function peg$parsePACKAGE_NAME() { var s0; - if (input.substr(peg$currPos, 11) === peg$c155) { - s0 = peg$c155; + if (input.substr(peg$currPos, 11) === peg$c157) { + s0 = peg$c157; peg$currPos += 11; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c156); } + if (peg$silentFails === 0) { peg$fail(peg$c158); } } return s0; @@ -7454,12 +7651,12 @@ function peg$parse(input, options) { function peg$parseAUTHENTICATION_TYPE() { var s0; - if (input.substr(peg$currPos, 18) === peg$c157) { - s0 = peg$c157; + if (input.substr(peg$currPos, 18) === peg$c159) { + s0 = peg$c159; peg$currPos += 18; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c158); } + if (peg$silentFails === 0) { peg$fail(peg$c160); } } return s0; @@ -7468,12 +7665,12 @@ function peg$parse(input, options) { function peg$parseHIBERNATE_CACHE() { var s0; - if (input.substr(peg$currPos, 14) === peg$c159) { - s0 = peg$c159; + if (input.substr(peg$currPos, 14) === peg$c161) { + s0 = peg$c161; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c160); } + if (peg$silentFails === 0) { peg$fail(peg$c162); } } return s0; @@ -7482,12 +7679,12 @@ function peg$parse(input, options) { function peg$parseCLUSTERED_HTTP_SESSION() { var s0; - if (input.substr(peg$currPos, 20) === peg$c161) { - s0 = peg$c161; + if (input.substr(peg$currPos, 20) === peg$c163) { + s0 = peg$c163; peg$currPos += 20; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c162); } + if (peg$silentFails === 0) { peg$fail(peg$c164); } } return s0; @@ -7496,12 +7693,12 @@ function peg$parse(input, options) { function peg$parseWEBSOCKET() { var s0; - if (input.substr(peg$currPos, 9) === peg$c163) { - s0 = peg$c163; + if (input.substr(peg$currPos, 9) === peg$c165) { + s0 = peg$c165; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c164); } + if (peg$silentFails === 0) { peg$fail(peg$c166); } } return s0; @@ -7510,12 +7707,12 @@ function peg$parse(input, options) { function peg$parseDATABASE_TYPE() { var s0; - if (input.substr(peg$currPos, 12) === peg$c165) { - s0 = peg$c165; + if (input.substr(peg$currPos, 12) === peg$c167) { + s0 = peg$c167; peg$currPos += 12; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c166); } + if (peg$silentFails === 0) { peg$fail(peg$c168); } } return s0; @@ -7524,12 +7721,12 @@ function peg$parse(input, options) { function peg$parseDEV_DATABASE_TYPE() { var s0; - if (input.substr(peg$currPos, 15) === peg$c167) { - s0 = peg$c167; + if (input.substr(peg$currPos, 15) === peg$c169) { + s0 = peg$c169; peg$currPos += 15; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c168); } + if (peg$silentFails === 0) { peg$fail(peg$c170); } } return s0; @@ -7538,12 +7735,12 @@ function peg$parse(input, options) { function peg$parsePROD_DATABASE_TYPE() { var s0; - if (input.substr(peg$currPos, 16) === peg$c169) { - s0 = peg$c169; + if (input.substr(peg$currPos, 16) === peg$c171) { + s0 = peg$c171; peg$currPos += 16; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c170); } + if (peg$silentFails === 0) { peg$fail(peg$c172); } } return s0; @@ -7552,12 +7749,12 @@ function peg$parse(input, options) { function peg$parseUSE_COMPASS() { var s0; - if (input.substr(peg$currPos, 10) === peg$c171) { - s0 = peg$c171; + if (input.substr(peg$currPos, 10) === peg$c173) { + s0 = peg$c173; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c172); } + if (peg$silentFails === 0) { peg$fail(peg$c174); } } return s0; @@ -7566,12 +7763,12 @@ function peg$parse(input, options) { function peg$parseBUILD_TOOL() { var s0; - if (input.substr(peg$currPos, 9) === peg$c173) { - s0 = peg$c173; + if (input.substr(peg$currPos, 9) === peg$c175) { + s0 = peg$c175; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c174); } + if (peg$silentFails === 0) { peg$fail(peg$c176); } } return s0; @@ -7580,12 +7777,12 @@ function peg$parse(input, options) { function peg$parseSEARCH_ENGINE() { var s0; - if (input.substr(peg$currPos, 12) === peg$c175) { - s0 = peg$c175; + if (input.substr(peg$currPos, 12) === peg$c177) { + s0 = peg$c177; peg$currPos += 12; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c176); } + if (peg$silentFails === 0) { peg$fail(peg$c178); } } return s0; @@ -7594,12 +7791,12 @@ function peg$parse(input, options) { function peg$parseENABLE_TRANSLATION() { var s0; - if (input.substr(peg$currPos, 17) === peg$c177) { - s0 = peg$c177; + if (input.substr(peg$currPos, 17) === peg$c179) { + s0 = peg$c179; peg$currPos += 17; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c178); } + if (peg$silentFails === 0) { peg$fail(peg$c180); } } return s0; @@ -7608,12 +7805,12 @@ function peg$parse(input, options) { function peg$parseAPPLICATION_TYPE() { var s0; - if (input.substr(peg$currPos, 15) === peg$c179) { - s0 = peg$c179; + if (input.substr(peg$currPos, 15) === peg$c181) { + s0 = peg$c181; peg$currPos += 15; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c180); } + if (peg$silentFails === 0) { peg$fail(peg$c182); } } return s0; @@ -7622,12 +7819,12 @@ function peg$parse(input, options) { function peg$parseTEST_FRAMEWORK() { var s0; - if (input.substr(peg$currPos, 14) === peg$c181) { - s0 = peg$c181; + if (input.substr(peg$currPos, 14) === peg$c183) { + s0 = peg$c183; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c182); } + if (peg$silentFails === 0) { peg$fail(peg$c184); } } return s0; @@ -7636,12 +7833,12 @@ function peg$parse(input, options) { function peg$parseLANGUAGES() { var s0; - if (input.substr(peg$currPos, 9) === peg$c183) { - s0 = peg$c183; + if (input.substr(peg$currPos, 9) === peg$c185) { + s0 = peg$c185; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c184); } + if (peg$silentFails === 0) { peg$fail(peg$c186); } } return s0; @@ -7650,12 +7847,12 @@ function peg$parse(input, options) { function peg$parseSERVER_PORT() { var s0; - if (input.substr(peg$currPos, 10) === peg$c185) { - s0 = peg$c185; + if (input.substr(peg$currPos, 10) === peg$c187) { + s0 = peg$c187; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c186); } + if (peg$silentFails === 0) { peg$fail(peg$c188); } } return s0; @@ -7664,12 +7861,12 @@ function peg$parse(input, options) { function peg$parseENABLE_SOCIAL_SIGN_IN() { var s0; - if (input.substr(peg$currPos, 18) === peg$c187) { - s0 = peg$c187; + if (input.substr(peg$currPos, 18) === peg$c189) { + s0 = peg$c189; peg$currPos += 18; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c188); } + if (peg$silentFails === 0) { peg$fail(peg$c190); } } return s0; @@ -7678,12 +7875,12 @@ function peg$parse(input, options) { function peg$parseUSE_SASS() { var s0; - if (input.substr(peg$currPos, 7) === peg$c189) { - s0 = peg$c189; + if (input.substr(peg$currPos, 7) === peg$c191) { + s0 = peg$c191; peg$currPos += 7; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c190); } + if (peg$silentFails === 0) { peg$fail(peg$c192); } } return s0; @@ -7692,12 +7889,12 @@ function peg$parse(input, options) { function peg$parseJHI_PREFIX() { var s0; - if (input.substr(peg$currPos, 9) === peg$c191) { - s0 = peg$c191; + if (input.substr(peg$currPos, 9) === peg$c193) { + s0 = peg$c193; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c192); } + if (peg$silentFails === 0) { peg$fail(peg$c194); } } return s0; @@ -7706,12 +7903,12 @@ function peg$parse(input, options) { function peg$parseMESSAGE_BROKER() { var s0; - if (input.substr(peg$currPos, 13) === peg$c193) { - s0 = peg$c193; + if (input.substr(peg$currPos, 13) === peg$c195) { + s0 = peg$c195; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c194); } + if (peg$silentFails === 0) { peg$fail(peg$c196); } } return s0; @@ -7720,12 +7917,12 @@ function peg$parse(input, options) { function peg$parseSERVICE_DISCOVERY_TYPE() { var s0; - if (input.substr(peg$currPos, 20) === peg$c195) { - s0 = peg$c195; + if (input.substr(peg$currPos, 20) === peg$c197) { + s0 = peg$c197; peg$currPos += 20; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c196); } + if (peg$silentFails === 0) { peg$fail(peg$c198); } } return s0; @@ -7734,12 +7931,12 @@ function peg$parse(input, options) { function peg$parseCLIENT_PACKAGE_MANAGER() { var s0; - if (input.substr(peg$currPos, 20) === peg$c197) { - s0 = peg$c197; + if (input.substr(peg$currPos, 20) === peg$c199) { + s0 = peg$c199; peg$currPos += 20; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c198); } + if (peg$silentFails === 0) { peg$fail(peg$c200); } } return s0; @@ -7748,12 +7945,12 @@ function peg$parse(input, options) { function peg$parseCLIENT_FRAMEWORK() { var s0; - if (input.substr(peg$currPos, 15) === peg$c199) { - s0 = peg$c199; + if (input.substr(peg$currPos, 15) === peg$c201) { + s0 = peg$c201; peg$currPos += 15; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c200); } + if (peg$silentFails === 0) { peg$fail(peg$c202); } } return s0; @@ -7762,12 +7959,12 @@ function peg$parse(input, options) { function peg$parseNATIVE_LANGUAGE() { var s0; - if (input.substr(peg$currPos, 14) === peg$c201) { - s0 = peg$c201; + if (input.substr(peg$currPos, 14) === peg$c203) { + s0 = peg$c203; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c202); } + if (peg$silentFails === 0) { peg$fail(peg$c204); } } return s0; @@ -7776,12 +7973,12 @@ function peg$parse(input, options) { function peg$parseFRONT_END_BUILDER() { var s0; - if (input.substr(peg$currPos, 15) === peg$c203) { - s0 = peg$c203; + if (input.substr(peg$currPos, 15) === peg$c205) { + s0 = peg$c205; peg$currPos += 15; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c204); } + if (peg$silentFails === 0) { peg$fail(peg$c206); } } return s0; @@ -7790,12 +7987,12 @@ function peg$parse(input, options) { function peg$parseSKIP_USER_MANAGEMENT() { var s0; - if (input.substr(peg$currPos, 18) === peg$c205) { - s0 = peg$c205; + if (input.substr(peg$currPos, 18) === peg$c207) { + s0 = peg$c207; peg$currPos += 18; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c206); } + if (peg$silentFails === 0) { peg$fail(peg$c208); } } return s0; @@ -7804,12 +8001,12 @@ function peg$parse(input, options) { function peg$parseENTITIES() { var s0; - if (input.substr(peg$currPos, 8) === peg$c207) { - s0 = peg$c207; + if (input.substr(peg$currPos, 8) === peg$c209) { + s0 = peg$c209; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c208); } + if (peg$silentFails === 0) { peg$fail(peg$c210); } } return s0; @@ -7818,12 +8015,12 @@ function peg$parse(input, options) { function peg$parseTRUE() { var s0; - if (input.substr(peg$currPos, 4) === peg$c209) { - s0 = peg$c209; + if (input.substr(peg$currPos, 4) === peg$c211) { + s0 = peg$c211; peg$currPos += 4; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c210); } + if (peg$silentFails === 0) { peg$fail(peg$c212); } } return s0; @@ -7832,12 +8029,12 @@ function peg$parse(input, options) { function peg$parseFALSE() { var s0; - if (input.substr(peg$currPos, 5) === peg$c211) { - s0 = peg$c211; + if (input.substr(peg$currPos, 5) === peg$c213) { + s0 = peg$c213; peg$currPos += 5; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c212); } + if (peg$silentFails === 0) { peg$fail(peg$c214); } } return s0; @@ -7846,12 +8043,12 @@ function peg$parse(input, options) { function peg$parseENTITY() { var s0; - if (input.substr(peg$currPos, 6) === peg$c213) { - s0 = peg$c213; + if (input.substr(peg$currPos, 6) === peg$c215) { + s0 = peg$c215; peg$currPos += 6; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c214); } + if (peg$silentFails === 0) { peg$fail(peg$c216); } } return s0; @@ -7860,12 +8057,12 @@ function peg$parse(input, options) { function peg$parseRELATIONSHIP() { var s0; - if (input.substr(peg$currPos, 12) === peg$c215) { - s0 = peg$c215; + if (input.substr(peg$currPos, 12) === peg$c217) { + s0 = peg$c217; peg$currPos += 12; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c216); } + if (peg$silentFails === 0) { peg$fail(peg$c218); } } return s0; @@ -7874,12 +8071,12 @@ function peg$parse(input, options) { function peg$parseENUM() { var s0; - if (input.substr(peg$currPos, 4) === peg$c217) { - s0 = peg$c217; + if (input.substr(peg$currPos, 4) === peg$c219) { + s0 = peg$c219; peg$currPos += 4; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c218); } + if (peg$silentFails === 0) { peg$fail(peg$c220); } } return s0; @@ -7888,12 +8085,12 @@ function peg$parse(input, options) { function peg$parseONE_TO_ONE() { var s0; - if (input.substr(peg$currPos, 8) === peg$c219) { - s0 = peg$c219; + if (input.substr(peg$currPos, 8) === peg$c221) { + s0 = peg$c221; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c220); } + if (peg$silentFails === 0) { peg$fail(peg$c222); } } return s0; @@ -7902,12 +8099,12 @@ function peg$parse(input, options) { function peg$parseONE_TO_MANY() { var s0; - if (input.substr(peg$currPos, 9) === peg$c221) { - s0 = peg$c221; + if (input.substr(peg$currPos, 9) === peg$c223) { + s0 = peg$c223; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c222); } + if (peg$silentFails === 0) { peg$fail(peg$c224); } } return s0; @@ -7916,12 +8113,12 @@ function peg$parse(input, options) { function peg$parseMANY_TO_ONE() { var s0; - if (input.substr(peg$currPos, 9) === peg$c223) { - s0 = peg$c223; + if (input.substr(peg$currPos, 9) === peg$c225) { + s0 = peg$c225; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c224); } + if (peg$silentFails === 0) { peg$fail(peg$c226); } } return s0; @@ -7930,12 +8127,12 @@ function peg$parse(input, options) { function peg$parseMANY_TO_MANY() { var s0; - if (input.substr(peg$currPos, 10) === peg$c225) { - s0 = peg$c225; + if (input.substr(peg$currPos, 10) === peg$c227) { + s0 = peg$c227; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c226); } + if (peg$silentFails === 0) { peg$fail(peg$c228); } } return s0; @@ -7944,12 +8141,12 @@ function peg$parse(input, options) { function peg$parseALL() { var s0; - if (input.substr(peg$currPos, 3) === peg$c227) { - s0 = peg$c227; + if (input.substr(peg$currPos, 3) === peg$c229) { + s0 = peg$c229; peg$currPos += 3; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c228); } + if (peg$silentFails === 0) { peg$fail(peg$c230); } } return s0; @@ -7959,11 +8156,11 @@ function peg$parse(input, options) { var s0; if (input.charCodeAt(peg$currPos) === 42) { - s0 = peg$c229; + s0 = peg$c231; peg$currPos++; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c230); } + if (peg$silentFails === 0) { peg$fail(peg$c232); } } return s0; @@ -7972,12 +8169,12 @@ function peg$parse(input, options) { function peg$parseFOR() { var s0; - if (input.substr(peg$currPos, 3) === peg$c231) { - s0 = peg$c231; + if (input.substr(peg$currPos, 3) === peg$c233) { + s0 = peg$c233; peg$currPos += 3; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c232); } + if (peg$silentFails === 0) { peg$fail(peg$c234); } } return s0; @@ -7986,12 +8183,12 @@ function peg$parse(input, options) { function peg$parseWITH() { var s0; - if (input.substr(peg$currPos, 4) === peg$c233) { - s0 = peg$c233; + if (input.substr(peg$currPos, 4) === peg$c235) { + s0 = peg$c235; peg$currPos += 4; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c234); } + if (peg$silentFails === 0) { peg$fail(peg$c236); } } return s0; @@ -8000,12 +8197,12 @@ function peg$parse(input, options) { function peg$parseEXCEPT() { var s0; - if (input.substr(peg$currPos, 6) === peg$c235) { - s0 = peg$c235; + if (input.substr(peg$currPos, 6) === peg$c237) { + s0 = peg$c237; peg$currPos += 6; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c236); } + if (peg$silentFails === 0) { peg$fail(peg$c238); } } return s0; @@ -8014,12 +8211,12 @@ function peg$parse(input, options) { function peg$parseNO_FLUENT_METHOD() { var s0; - if (input.substr(peg$currPos, 14) === peg$c237) { - s0 = peg$c237; + if (input.substr(peg$currPos, 14) === peg$c239) { + s0 = peg$c239; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c238); } + if (peg$silentFails === 0) { peg$fail(peg$c240); } } return s0; @@ -8028,12 +8225,12 @@ function peg$parse(input, options) { function peg$parseDTO() { var s0; - if (input.substr(peg$currPos, 3) === peg$c239) { - s0 = peg$c239; + if (input.substr(peg$currPos, 3) === peg$c241) { + s0 = peg$c241; peg$currPos += 3; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c240); } + if (peg$silentFails === 0) { peg$fail(peg$c242); } } return s0; @@ -8042,12 +8239,12 @@ function peg$parse(input, options) { function peg$parsePAGINATE() { var s0; - if (input.substr(peg$currPos, 8) === peg$c241) { - s0 = peg$c241; + if (input.substr(peg$currPos, 8) === peg$c243) { + s0 = peg$c243; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c242); } + if (peg$silentFails === 0) { peg$fail(peg$c244); } } return s0; @@ -8056,12 +8253,12 @@ function peg$parse(input, options) { function peg$parseSERVICE() { var s0; - if (input.substr(peg$currPos, 7) === peg$c243) { - s0 = peg$c243; + if (input.substr(peg$currPos, 7) === peg$c245) { + s0 = peg$c245; peg$currPos += 7; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c244); } + if (peg$silentFails === 0) { peg$fail(peg$c246); } } return s0; @@ -8070,12 +8267,12 @@ function peg$parse(input, options) { function peg$parseMICROSERVICE() { var s0; - if (input.substr(peg$currPos, 12) === peg$c245) { - s0 = peg$c245; + if (input.substr(peg$currPos, 12) === peg$c247) { + s0 = peg$c247; peg$currPos += 12; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c246); } + if (peg$silentFails === 0) { peg$fail(peg$c248); } } return s0; @@ -8084,12 +8281,12 @@ function peg$parse(input, options) { function peg$parseSEARCH() { var s0; - if (input.substr(peg$currPos, 6) === peg$c247) { - s0 = peg$c247; + if (input.substr(peg$currPos, 6) === peg$c249) { + s0 = peg$c249; peg$currPos += 6; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c248); } + if (peg$silentFails === 0) { peg$fail(peg$c250); } } return s0; @@ -8098,12 +8295,12 @@ function peg$parse(input, options) { function peg$parseSKIP_CLIENT() { var s0; - if (input.substr(peg$currPos, 10) === peg$c249) { - s0 = peg$c249; + if (input.substr(peg$currPos, 10) === peg$c251) { + s0 = peg$c251; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c250); } + if (peg$silentFails === 0) { peg$fail(peg$c252); } } return s0; @@ -8112,12 +8309,12 @@ function peg$parse(input, options) { function peg$parseSKIP_SERVER() { var s0; - if (input.substr(peg$currPos, 10) === peg$c251) { - s0 = peg$c251; + if (input.substr(peg$currPos, 10) === peg$c253) { + s0 = peg$c253; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c252); } + if (peg$silentFails === 0) { peg$fail(peg$c254); } } return s0; @@ -8126,12 +8323,26 @@ function peg$parse(input, options) { function peg$parseANGULAR_SUFFIX() { var s0; - if (input.substr(peg$currPos, 13) === peg$c253) { - s0 = peg$c253; + if (input.substr(peg$currPos, 13) === peg$c255) { + s0 = peg$c255; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c254); } + if (peg$silentFails === 0) { peg$fail(peg$c256); } + } + + return s0; + } + + function peg$parseFILTER() { + var s0; + + if (input.substr(peg$currPos, 6) === peg$c257) { + s0 = peg$c257; + peg$currPos += 6; + } else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c258); } } return s0; @@ -8140,12 +8351,12 @@ function peg$parse(input, options) { function peg$parseREQUIRED() { var s0; - if (input.substr(peg$currPos, 8) === peg$c95) { - s0 = peg$c95; + if (input.substr(peg$currPos, 8) === peg$c96) { + s0 = peg$c96; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c96); } + if (peg$silentFails === 0) { peg$fail(peg$c97); } } return s0; @@ -8154,12 +8365,12 @@ function peg$parse(input, options) { function peg$parseMINLENGTH() { var s0; - if (input.substr(peg$currPos, 9) === peg$c255) { - s0 = peg$c255; + if (input.substr(peg$currPos, 9) === peg$c259) { + s0 = peg$c259; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c256); } + if (peg$silentFails === 0) { peg$fail(peg$c260); } } return s0; @@ -8168,12 +8379,12 @@ function peg$parse(input, options) { function peg$parseMAXLENGTH() { var s0; - if (input.substr(peg$currPos, 9) === peg$c257) { - s0 = peg$c257; + if (input.substr(peg$currPos, 9) === peg$c261) { + s0 = peg$c261; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c258); } + if (peg$silentFails === 0) { peg$fail(peg$c262); } } return s0; @@ -8182,12 +8393,12 @@ function peg$parse(input, options) { function peg$parseMINBYTES() { var s0; - if (input.substr(peg$currPos, 8) === peg$c259) { - s0 = peg$c259; + if (input.substr(peg$currPos, 8) === peg$c263) { + s0 = peg$c263; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c260); } + if (peg$silentFails === 0) { peg$fail(peg$c264); } } return s0; @@ -8196,12 +8407,12 @@ function peg$parse(input, options) { function peg$parseMAXBYTES() { var s0; - if (input.substr(peg$currPos, 8) === peg$c261) { - s0 = peg$c261; + if (input.substr(peg$currPos, 8) === peg$c265) { + s0 = peg$c265; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c262); } + if (peg$silentFails === 0) { peg$fail(peg$c266); } } return s0; @@ -8210,12 +8421,12 @@ function peg$parse(input, options) { function peg$parseMAX() { var s0; - if (input.substr(peg$currPos, 3) === peg$c263) { - s0 = peg$c263; + if (input.substr(peg$currPos, 3) === peg$c267) { + s0 = peg$c267; peg$currPos += 3; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c264); } + if (peg$silentFails === 0) { peg$fail(peg$c268); } } return s0; @@ -8224,12 +8435,12 @@ function peg$parse(input, options) { function peg$parseMIN() { var s0; - if (input.substr(peg$currPos, 3) === peg$c265) { - s0 = peg$c265; + if (input.substr(peg$currPos, 3) === peg$c269) { + s0 = peg$c269; peg$currPos += 3; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c266); } + if (peg$silentFails === 0) { peg$fail(peg$c270); } } return s0; @@ -8238,12 +8449,12 @@ function peg$parse(input, options) { function peg$parsePATTERN() { var s0; - if (input.substr(peg$currPos, 7) === peg$c267) { - s0 = peg$c267; + if (input.substr(peg$currPos, 7) === peg$c271) { + s0 = peg$c271; peg$currPos += 7; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c268); } + if (peg$silentFails === 0) { peg$fail(peg$c272); } } return s0; @@ -8254,26 +8465,26 @@ function peg$parse(input, options) { s0 = peg$currPos; s1 = []; - if (peg$c269.test(input.charAt(peg$currPos))) { + if (peg$c273.test(input.charAt(peg$currPos))) { s2 = input.charAt(peg$currPos); peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c270); } + if (peg$silentFails === 0) { peg$fail(peg$c274); } } while (s2 !== peg$FAILED) { s1.push(s2); - if (peg$c269.test(input.charAt(peg$currPos))) { + if (peg$c273.test(input.charAt(peg$currPos))) { s2 = input.charAt(peg$currPos); peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c270); } + if (peg$silentFails === 0) { peg$fail(peg$c274); } } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c271(s1); + s1 = peg$c275(s1); } s0 = s1; @@ -8284,35 +8495,35 @@ function peg$parse(input, options) { var s0, s1, s2, s3; s0 = peg$currPos; - if (peg$c123.test(input.charAt(peg$currPos))) { + if (peg$c125.test(input.charAt(peg$currPos))) { s1 = input.charAt(peg$currPos); peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c124); } + if (peg$silentFails === 0) { peg$fail(peg$c126); } } if (s1 !== peg$FAILED) { s2 = []; - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } while (s3 !== peg$FAILED) { s2.push(s3); - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } } if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c125(s1, s2); + s1 = peg$c127(s1, s2); s0 = s1; } else { peg$currPos = s0; @@ -8331,53 +8542,53 @@ function peg$parse(input, options) { s0 = peg$currPos; s1 = []; - if (peg$c272.test(input.charAt(peg$currPos))) { + if (peg$c276.test(input.charAt(peg$currPos))) { s2 = input.charAt(peg$currPos); peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c273); } + if (peg$silentFails === 0) { peg$fail(peg$c277); } } while (s2 !== peg$FAILED) { s1.push(s2); - if (peg$c272.test(input.charAt(peg$currPos))) { + if (peg$c276.test(input.charAt(peg$currPos))) { s2 = input.charAt(peg$currPos); peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c273); } + if (peg$silentFails === 0) { peg$fail(peg$c277); } } } if (s1 !== peg$FAILED) { - if (peg$c274.test(input.charAt(peg$currPos))) { + if (peg$c278.test(input.charAt(peg$currPos))) { s2 = input.charAt(peg$currPos); peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c275); } + if (peg$silentFails === 0) { peg$fail(peg$c279); } } if (s2 !== peg$FAILED) { s3 = []; - if (peg$c276.test(input.charAt(peg$currPos))) { + if (peg$c280.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c277); } + if (peg$silentFails === 0) { peg$fail(peg$c281); } } while (s4 !== peg$FAILED) { s3.push(s4); - if (peg$c276.test(input.charAt(peg$currPos))) { + if (peg$c280.test(input.charAt(peg$currPos))) { s4 = input.charAt(peg$currPos); peg$currPos++; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c277); } + if (peg$silentFails === 0) { peg$fail(peg$c281); } } } if (s3 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c278(s1, s2, s3); + s1 = peg$c282(s1, s2, s3); s0 = s1; } else { peg$currPos = s0; @@ -8400,22 +8611,22 @@ function peg$parse(input, options) { s0 = peg$currPos; s1 = []; - if (peg$c279.test(input.charAt(peg$currPos))) { + if (peg$c283.test(input.charAt(peg$currPos))) { s2 = input.charAt(peg$currPos); peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c280); } + if (peg$silentFails === 0) { peg$fail(peg$c284); } } if (s2 !== peg$FAILED) { while (s2 !== peg$FAILED) { s1.push(s2); - if (peg$c279.test(input.charAt(peg$currPos))) { + if (peg$c283.test(input.charAt(peg$currPos))) { s2 = input.charAt(peg$currPos); peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c280); } + if (peg$silentFails === 0) { peg$fail(peg$c284); } } } } else { @@ -8423,7 +8634,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c82(s1); + s1 = peg$c83(s1); } s0 = s1; @@ -8435,33 +8646,33 @@ function peg$parse(input, options) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 45) { - s1 = peg$c281; + s1 = peg$c285; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c282); } + if (peg$silentFails === 0) { peg$fail(peg$c286); } } if (s1 === peg$FAILED) { s1 = null; } if (s1 !== peg$FAILED) { s2 = []; - if (peg$c52.test(input.charAt(peg$currPos))) { + if (peg$c53.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c53); } + if (peg$silentFails === 0) { peg$fail(peg$c54); } } if (s3 !== peg$FAILED) { while (s3 !== peg$FAILED) { s2.push(s3); - if (peg$c52.test(input.charAt(peg$currPos))) { + if (peg$c53.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c53); } + if (peg$silentFails === 0) { peg$fail(peg$c54); } } } } else { @@ -8469,7 +8680,7 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c283(s1, s2); + s1 = peg$c287(s1, s2); s0 = s1; } else { peg$currPos = s0; @@ -8487,35 +8698,35 @@ function peg$parse(input, options) { var s0, s1, s2, s3; s0 = peg$currPos; - if (peg$c284.test(input.charAt(peg$currPos))) { + if (peg$c288.test(input.charAt(peg$currPos))) { s1 = input.charAt(peg$currPos); peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c285); } + if (peg$silentFails === 0) { peg$fail(peg$c289); } } if (s1 !== peg$FAILED) { s2 = []; - if (peg$c286.test(input.charAt(peg$currPos))) { + if (peg$c290.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c287); } + if (peg$silentFails === 0) { peg$fail(peg$c291); } } while (s3 !== peg$FAILED) { s2.push(s3); - if (peg$c286.test(input.charAt(peg$currPos))) { + if (peg$c290.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c287); } + if (peg$silentFails === 0) { peg$fail(peg$c291); } } } if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c125(s1, s2); + s1 = peg$c127(s1, s2); s0 = s1; } else { peg$currPos = s0; @@ -8533,35 +8744,35 @@ function peg$parse(input, options) { var s0, s1, s2, s3; s0 = peg$currPos; - if (peg$c123.test(input.charAt(peg$currPos))) { + if (peg$c125.test(input.charAt(peg$currPos))) { s1 = input.charAt(peg$currPos); peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c124); } + if (peg$silentFails === 0) { peg$fail(peg$c126); } } if (s1 !== peg$FAILED) { s2 = []; - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } while (s3 !== peg$FAILED) { s2.push(s3); - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } } if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c125(s1, s2); + s1 = peg$c127(s1, s2); s0 = s1; } else { peg$currPos = s0; @@ -8579,35 +8790,35 @@ function peg$parse(input, options) { var s0, s1, s2, s3; s0 = peg$currPos; - if (peg$c284.test(input.charAt(peg$currPos))) { + if (peg$c288.test(input.charAt(peg$currPos))) { s1 = input.charAt(peg$currPos); peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c285); } + if (peg$silentFails === 0) { peg$fail(peg$c289); } } if (s1 !== peg$FAILED) { s2 = []; - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } while (s3 !== peg$FAILED) { s2.push(s3); - if (peg$c39.test(input.charAt(peg$currPos))) { + if (peg$c40.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c41); } } } if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c125(s1, s2); + s1 = peg$c127(s1, s2); s0 = s1; } else { peg$currPos = s0; @@ -8624,12 +8835,12 @@ function peg$parse(input, options) { function peg$parseSPACE() { var s0; - if (peg$c288.test(input.charAt(peg$currPos))) { + if (peg$c292.test(input.charAt(peg$currPos))) { s0 = input.charAt(peg$currPos); peg$currPos++; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c289); } + if (peg$silentFails === 0) { peg$fail(peg$c293); } } return s0; @@ -8638,12 +8849,12 @@ function peg$parse(input, options) { function peg$parseSPACE_WITHOUT_NEWLINE() { var s0; - if (peg$c290.test(input.charAt(peg$currPos))) { + if (peg$c294.test(input.charAt(peg$currPos))) { s0 = input.charAt(peg$currPos); peg$currPos++; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c291); } + if (peg$silentFails === 0) { peg$fail(peg$c295); } } return s0; @@ -8652,12 +8863,12 @@ function peg$parse(input, options) { function peg$parseFORWARD_SLASH() { var s0; - if (peg$c292.test(input.charAt(peg$currPos))) { + if (peg$c296.test(input.charAt(peg$currPos))) { s0 = input.charAt(peg$currPos); peg$currPos++; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c293); } + if (peg$silentFails === 0) { peg$fail(peg$c297); } } return s0; @@ -8717,6 +8928,7 @@ function peg$parse(input, options) { searchEngine: {}, noClient: { list: [], excluded: [] }, noServer: { list: [], excluded: [] }, + filter: { list: [], excluded: [] }, angularSuffix: {}, noFluentMethod: { list: [], excluded: [] } }; diff --git a/lib/parser/entity_parser.js b/lib/parser/entity_parser.js index 0f553e8e..52b9bcf9 100644 --- a/lib/parser/entity_parser.js +++ b/lib/parser/entity_parser.js @@ -97,6 +97,7 @@ function initializeEntities() { dto: 'no', pagination: 'no', service: 'no', + jpaMetamodelFiltering: false }; } } @@ -133,6 +134,9 @@ function setEntityNamesOptions(option) { case BinaryOptions.ANGULAR_SUFFIX: entities[entityName].angularJSSuffix = option.value; break; + case UnaryOptions.FILTER: + entities[entityName].jpaMetamodelFiltering = true; + break; default: entities[entityName][option.name] = option.value; } diff --git a/lib/parser/jdl_parser.js b/lib/parser/jdl_parser.js index 5aa4fa3d..cb475e2c 100644 --- a/lib/parser/jdl_parser.js +++ b/lib/parser/jdl_parser.js @@ -223,6 +223,13 @@ function fillUnaryOptions() { excludedNames: document.noFluentMethod.excluded })); } + if (document.filter.list.length !== 0) { + jdlObject.addOption(new JDLUnaryOption({ + name: UnaryOptions.UNARY_OPTIONS.FILTER, + entityNames: document.filter.list, + excludedNames: document.filter.excluded + })); + } } function addOption(key, value) { diff --git a/test/spec/parser/entity_parser_test.js b/test/spec/parser/entity_parser_test.js index 00b9c9ce..8cf62656 100644 --- a/test/spec/parser/entity_parser_test.js +++ b/test/spec/parser/entity_parser_test.js @@ -247,5 +247,16 @@ describe('::convert', () => { ); }); }); + describe('when converting a JDL with filtering', () => { + const input = parseFromFiles(['./test/test_files/filtering.jdl']); + const content = EntityParser.parse({ + jdlObject: JDLParser.parse(input, 'sql'), + databaseType: 'sql' + }); + it('converts it', () => { + expect(content.A.jpaMetamodelFiltering).to.be.true; + expect(content.B.jpaMetamodelFiltering).to.be.false; + }); + }); }); }); diff --git a/test/spec/parser/jdl_parser_test.js b/test/spec/parser/jdl_parser_test.js index 0ed16de8..58bba013 100644 --- a/test/spec/parser/jdl_parser_test.js +++ b/test/spec/parser/jdl_parser_test.js @@ -622,6 +622,14 @@ describe('JDLParser', () => { expect(application.skipServer).to.be.false; }); }); + describe('when parsing filtered entities', () => { + const input = parseFromFiles(['./test/test_files/filtering.jdl']); + const content = JDLParser.parse(input, 'sql'); + it('works', () => { + expect(content.options.options.filter.entityNames.has('*')).to.be.true; + expect(content.options.options.filter.excludedNames.has('B')).to.be.true; + }); + }); }); }); }); diff --git a/test/test_files/filtering.jdl b/test/test_files/filtering.jdl new file mode 100644 index 00000000..c3c4b578 --- /dev/null +++ b/test/test_files/filtering.jdl @@ -0,0 +1,4 @@ +entity A +entity B + +filter * except B diff --git a/test/test_files/jhipster_app/.jhipster/Country.json b/test/test_files/jhipster_app/.jhipster/Country.json index 230e7279..88585176 100644 --- a/test/test_files/jhipster_app/.jhipster/Country.json +++ b/test/test_files/jhipster_app/.jhipster/Country.json @@ -1,39 +1,40 @@ { - "fluentMethods": true, - "relationships": [ - { - "relationshipType": "one-to-one", - "relationshipName": "region", - "otherEntityName": "region", - "otherEntityField": "id", - "ownerSide": true, - "otherEntityRelationshipName": "country" - }, - { - "relationshipType": "one-to-one", - "relationshipName": "user", - "otherEntityName": "user", - "otherEntityField": "id", - "ownerSide": true, - "otherEntityRelationshipName": "country" - } - ], - "fields": [ - { - "fieldName": "countryId", - "fieldType": "Long", - "javadoc": "The country Id" - }, - { - "fieldName": "countryName", - "fieldType": "String" - } - ], - "changelogDate": "20160926101210", - "entityTableName": "country", - "dto": "no", - "pagination": "no", - "service": "no", - "skipClient": true, - "skipServer": true + "fluentMethods": true, + "relationships": [ + { + "relationshipType": "one-to-one", + "relationshipName": "region", + "otherEntityName": "region", + "otherEntityField": "id", + "ownerSide": true, + "otherEntityRelationshipName": "country" + }, + { + "relationshipType": "one-to-one", + "relationshipName": "user", + "otherEntityName": "user", + "otherEntityField": "id", + "ownerSide": true, + "otherEntityRelationshipName": "country" + } + ], + "fields": [ + { + "fieldName": "countryId", + "fieldType": "Long", + "javadoc": "The country Id" + }, + { + "fieldName": "countryName", + "fieldType": "String" + } + ], + "changelogDate": "20160926101210", + "entityTableName": "country", + "dto": "no", + "pagination": "no", + "service": "no", + "jpaMetamodelFiltering": false, + "skipClient": true, + "skipServer": true } diff --git a/test/test_files/jhipster_app/.jhipster/Department.json b/test/test_files/jhipster_app/.jhipster/Department.json index fbf14934..cbe70069 100644 --- a/test/test_files/jhipster_app/.jhipster/Department.json +++ b/test/test_files/jhipster_app/.jhipster/Department.json @@ -1,41 +1,42 @@ { - "fluentMethods": true, - "relationships": [ - { - "relationshipType": "one-to-one", - "relationshipName": "location", - "otherEntityName": "location", - "otherEntityField": "id", - "ownerSide": true, - "otherEntityRelationshipName": "department" - }, - { - "relationshipType": "one-to-many", - "relationshipValidateRules": "required", - "relationshipName": "employee", - "otherEntityName": "employee", - "javadoc": "A relationship", - "otherEntityRelationshipName": "department" - } - ], - "fields": [ - { - "fieldName": "departmentId", - "fieldType": "Long" - }, - { - "fieldName": "departmentName", - "fieldType": "String", - "fieldValidateRules": [ - "required" - ] - } - ], - "changelogDate": "20160926092246", - "entityTableName": "department", - "dto": "no", - "pagination": "no", - "service": "no", - "skipClient": true, - "skipServer": true + "fluentMethods": true, + "relationships": [ + { + "relationshipType": "one-to-one", + "relationshipName": "location", + "otherEntityName": "location", + "otherEntityField": "id", + "ownerSide": true, + "otherEntityRelationshipName": "department" + }, + { + "relationshipType": "one-to-many", + "relationshipValidateRules": "required", + "relationshipName": "employee", + "otherEntityName": "employee", + "javadoc": "A relationship", + "otherEntityRelationshipName": "department" + } + ], + "fields": [ + { + "fieldName": "departmentId", + "fieldType": "Long" + }, + { + "fieldName": "departmentName", + "fieldType": "String", + "fieldValidateRules": [ + "required" + ] + } + ], + "changelogDate": "20160926092246", + "entityTableName": "department", + "dto": "no", + "pagination": "no", + "service": "no", + "jpaMetamodelFiltering": false, + "skipClient": true, + "skipServer": true } diff --git a/test/test_files/jhipster_app/.jhipster/Employee.json b/test/test_files/jhipster_app/.jhipster/Employee.json index e00161f1..2c5d4c9a 100644 --- a/test/test_files/jhipster_app/.jhipster/Employee.json +++ b/test/test_files/jhipster_app/.jhipster/Employee.json @@ -1,75 +1,77 @@ { - "relationships": [ - { - "relationshipName": "department", - "otherEntityName": "department", - "javadoc": "Another side of the same relationship", - "relationshipType": "many-to-one", - "otherEntityField": "foo" - }, - { - "relationshipType": "one-to-many", - "relationshipName": "job", - "otherEntityName": "job", - "otherEntityRelationshipName": "employee" - }, - { - "relationshipType": "many-to-one", - "relationshipName": "manager", - "otherEntityName": "employee", - "otherEntityField": "id" - } - ], - "fields": [ - { - "fieldName": "employeeId", - "fieldType": "Long" - }, - { - "fieldName": "firstName", - "javadoc": "The firstname attribute.", - "fieldType": "String" - }, - { - "fieldName": "lastName", - "fieldType": "String" - }, - { - "fieldName": "email", - "fieldType": "String" - }, - { - "fieldName": "phoneNumber", - "fieldType": "String" - }, - { - "fieldName": "hireDate", - "fieldType": "ZonedDateTime" - }, - { - "fieldName": "salary", - "fieldType": "Long", - "fieldValidateRules": [ - "min", "max" - ], - "fieldValidateRulesMin": 10000, - "fieldValidateRulesMax": 1000000 - }, - { - "fieldName": "commissionPct", - "fieldType": "Long" - } - ], - "changelogDate": "20160926083805", - "javadoc": "The Employee entity.", - "entityTableName": "emp", - "dto": "mapstruct", - "pagination": "infinite-scroll", - "service": "serviceClass", - "fluentMethods": false, - "searchEngine": "elasticsearch", - "angularJSSuffix": "myentities", - "microserviceName": "mymicroservice", - "skipClient": true, - "skipServer": true + "relationships": [ + { + "relationshipName": "department", + "otherEntityName": "department", + "javadoc": "Another side of the same relationship", + "relationshipType": "many-to-one", + "otherEntityField": "foo" + }, + { + "relationshipType": "one-to-many", + "relationshipName": "job", + "otherEntityName": "job", + "otherEntityRelationshipName": "employee" + }, + { + "relationshipType": "many-to-one", + "relationshipName": "manager", + "otherEntityName": "employee", + "otherEntityField": "id" + } + ], + "fields": [ + { + "fieldName": "employeeId", + "fieldType": "Long" + }, + { + "fieldName": "firstName", + "javadoc": "The firstname attribute.", + "fieldType": "String" + }, + { + "fieldName": "lastName", + "fieldType": "String" + }, + { + "fieldName": "email", + "fieldType": "String" + }, + { + "fieldName": "phoneNumber", + "fieldType": "String" + }, + { + "fieldName": "hireDate", + "fieldType": "ZonedDateTime" + }, + { + "fieldName": "salary", + "fieldType": "Long", + "fieldValidateRules": [ + "min", + "max" + ], + "fieldValidateRulesMin": 10000, + "fieldValidateRulesMax": 1000000 + }, + { + "fieldName": "commissionPct", + "fieldType": "Long" + } + ], + "changelogDate": "20160926083805", + "javadoc": "The Employee entity.", + "jpaMetamodelFiltering": false, + "entityTableName": "emp", + "dto": "mapstruct", + "pagination": "infinite-scroll", + "service": "serviceClass", + "fluentMethods": false, + "searchEngine": "elasticsearch", + "angularJSSuffix": "myentities", + "microserviceName": "mymicroservice", + "skipClient": true, + "skipServer": true } diff --git a/test/test_files/jhipster_app/.jhipster/Job.json b/test/test_files/jhipster_app/.jhipster/Job.json index b446c897..833251fe 100644 --- a/test/test_files/jhipster_app/.jhipster/Job.json +++ b/test/test_files/jhipster_app/.jhipster/Job.json @@ -1,44 +1,45 @@ { - "fluentMethods": true, - "relationships": [ - { - "relationshipName": "employee", - "otherEntityName": "employee", - "relationshipType": "many-to-one", - "otherEntityField": "id" - }, - { - "relationshipType": "many-to-many", - "otherEntityRelationshipName": "job", - "relationshipName": "task", - "otherEntityName": "task", - "otherEntityField": "title", - "ownerSide": true - } - ], - "fields": [ - { - "fieldName": "jobId", - "fieldType": "Long" - }, - { - "fieldName": "jobTitle", - "fieldType": "String" - }, - { - "fieldName": "minSalary", - "fieldType": "Long" - }, - { - "fieldName": "maxSalary", - "fieldType": "Long" - } - ], - "changelogDate": "20160924093047", - "entityTableName": "job", - "dto": "no", - "pagination": "pagination", - "service": "no", - "skipClient": true, - "skipServer": true + "fluentMethods": true, + "relationships": [ + { + "relationshipName": "employee", + "otherEntityName": "employee", + "relationshipType": "many-to-one", + "otherEntityField": "id" + }, + { + "relationshipType": "many-to-many", + "otherEntityRelationshipName": "job", + "relationshipName": "task", + "otherEntityName": "task", + "otherEntityField": "title", + "ownerSide": true + } + ], + "fields": [ + { + "fieldName": "jobId", + "fieldType": "Long" + }, + { + "fieldName": "jobTitle", + "fieldType": "String" + }, + { + "fieldName": "minSalary", + "fieldType": "Long" + }, + { + "fieldName": "maxSalary", + "fieldType": "Long" + } + ], + "changelogDate": "20160924093047", + "entityTableName": "job", + "dto": "no", + "pagination": "pagination", + "service": "no", + "jpaMetamodelFiltering": false, + "skipClient": true, + "skipServer": true } diff --git a/test/test_files/jhipster_app/.jhipster/JobHistory.json b/test/test_files/jhipster_app/.jhipster/JobHistory.json index a2fd8a78..212b9af8 100644 --- a/test/test_files/jhipster_app/.jhipster/JobHistory.json +++ b/test/test_files/jhipster_app/.jhipster/JobHistory.json @@ -1,51 +1,52 @@ { - "fluentMethods": true, - "relationships": [ - { - "relationshipType": "one-to-one", - "relationshipName": "job", - "otherEntityName": "job", - "otherEntityField": "id", - "ownerSide": true, - "otherEntityRelationshipName": "jobHistory" - }, - { - "relationshipType": "one-to-one", - "relationshipName": "department", - "otherEntityName": "department", - "otherEntityField": "id", - "ownerSide": true, - "otherEntityRelationshipName": "jobHistory" - }, - { - "relationshipType": "one-to-one", - "relationshipName": "employee", - "otherEntityName": "employee", - "otherEntityField": "id", - "ownerSide": true, - "otherEntityRelationshipName": "jobHistory" - } - ], - "fields": [ - { - "fieldName": "startDate", - "fieldType": "ZonedDateTime" - }, - { - "fieldName": "endDate", - "fieldType": "ZonedDateTime" - }, - { - "fieldName": "language", - "fieldType": "Language", - "fieldValues": "FRENCH,ENGLISH,SPANISH" - } - ], - "changelogDate": "20160924092444", - "entityTableName": "job_history", - "dto": "no", - "pagination": "infinite-scroll", - "service": "no", - "skipClient": true, - "skipServer": true + "fluentMethods": true, + "relationships": [ + { + "relationshipType": "one-to-one", + "relationshipName": "job", + "otherEntityName": "job", + "otherEntityField": "id", + "ownerSide": true, + "otherEntityRelationshipName": "jobHistory" + }, + { + "relationshipType": "one-to-one", + "relationshipName": "department", + "otherEntityName": "department", + "otherEntityField": "id", + "ownerSide": true, + "otherEntityRelationshipName": "jobHistory" + }, + { + "relationshipType": "one-to-one", + "relationshipName": "employee", + "otherEntityName": "employee", + "otherEntityField": "id", + "ownerSide": true, + "otherEntityRelationshipName": "jobHistory" + } + ], + "fields": [ + { + "fieldName": "startDate", + "fieldType": "ZonedDateTime" + }, + { + "fieldName": "endDate", + "fieldType": "ZonedDateTime" + }, + { + "fieldName": "language", + "fieldType": "Language", + "fieldValues": "FRENCH,ENGLISH,SPANISH" + } + ], + "changelogDate": "20160924092444", + "entityTableName": "job_history", + "dto": "no", + "pagination": "infinite-scroll", + "service": "no", + "jpaMetamodelFiltering": false, + "skipClient": true, + "skipServer": true } diff --git a/test/test_files/jhipster_app/.jhipster/Location.json b/test/test_files/jhipster_app/.jhipster/Location.json index 412a8487..c311f518 100644 --- a/test/test_files/jhipster_app/.jhipster/Location.json +++ b/test/test_files/jhipster_app/.jhipster/Location.json @@ -1,42 +1,43 @@ { - "fluentMethods": true, - "relationships": [ - { - "relationshipType": "one-to-one", - "relationshipName": "country", - "otherEntityName": "country", - "otherEntityField": "id", - "ownerSide": true, - "otherEntityRelationshipName": "location" - } - ], - "fields": [ - { - "fieldName": "locationId", - "fieldType": "Long" - }, - { - "fieldName": "streetAddress", - "fieldType": "String" - }, - { - "fieldName": "postalCode", - "fieldType": "String" - }, - { - "fieldName": "city", - "fieldType": "String" - }, - { - "fieldName": "stateProvince", - "fieldType": "String" - } - ], - "changelogDate": "20160924092439", - "entityTableName": "location", - "dto": "no", - "pagination": "no", - "service": "no", - "skipClient": true, - "skipServer": true + "fluentMethods": true, + "relationships": [ + { + "relationshipType": "one-to-one", + "relationshipName": "country", + "otherEntityName": "country", + "otherEntityField": "id", + "ownerSide": true, + "otherEntityRelationshipName": "location" + } + ], + "fields": [ + { + "fieldName": "locationId", + "fieldType": "Long" + }, + { + "fieldName": "streetAddress", + "fieldType": "String" + }, + { + "fieldName": "postalCode", + "fieldType": "String" + }, + { + "fieldName": "city", + "fieldType": "String" + }, + { + "fieldName": "stateProvince", + "fieldType": "String" + } + ], + "changelogDate": "20160924092439", + "entityTableName": "location", + "dto": "no", + "pagination": "no", + "service": "no", + "jpaMetamodelFiltering": false, + "skipClient": true, + "skipServer": true } diff --git a/test/test_files/jhipster_app/.jhipster/Region.json b/test/test_files/jhipster_app/.jhipster/Region.json index c1474dda..3e22f5a3 100644 --- a/test/test_files/jhipster_app/.jhipster/Region.json +++ b/test/test_files/jhipster_app/.jhipster/Region.json @@ -1,29 +1,30 @@ { - "fluentMethods": true, - "relationships": [ - { - "relationshipType": "one-to-one", - "relationshipName": "country", - "otherEntityName": "country", - "ownerSide": false, - "otherEntityRelationshipName": "region" - } - ], - "fields": [ - { - "fieldName": "regionId", - "fieldType": "Long" - }, - { - "fieldName": "regionName", - "fieldType": "String" - } - ], - "changelogDate": "20160926083800", - "entityTableName": "region", - "dto": "no", - "pagination": "no", - "service": "no", - "skipClient": true, - "skipServer": true + "fluentMethods": true, + "relationships": [ + { + "relationshipType": "one-to-one", + "relationshipName": "country", + "otherEntityName": "country", + "ownerSide": false, + "otherEntityRelationshipName": "region" + } + ], + "fields": [ + { + "fieldName": "regionId", + "fieldType": "Long" + }, + { + "fieldName": "regionName", + "fieldType": "String" + } + ], + "changelogDate": "20160926083800", + "entityTableName": "region", + "dto": "no", + "pagination": "no", + "service": "no", + "jpaMetamodelFiltering": false, + "skipClient": true, + "skipServer": true } diff --git a/test/test_files/jhipster_app/.jhipster/Task.json b/test/test_files/jhipster_app/.jhipster/Task.json index 14271c3a..f4c298aa 100644 --- a/test/test_files/jhipster_app/.jhipster/Task.json +++ b/test/test_files/jhipster_app/.jhipster/Task.json @@ -1,34 +1,35 @@ { - "fluentMethods": true, - "relationships": [ - { - "relationshipType": "many-to-many", - "relationshipValidateRules": "required", - "relationshipName": "job", - "otherEntityName": "job", - "ownerSide": false, - "otherEntityRelationshipName": "task" - } - ], - "fields": [ - { - "fieldName": "taskId", - "fieldType": "Long" - }, - { - "fieldName": "title", - "fieldType": "String" - }, - { - "fieldName": "description", - "fieldType": "String" - } - ], - "changelogDate": "20160926100704", - "entityTableName": "task", - "dto": "no", - "pagination": "no", - "service": "no", - "skipClient": true, - "skipServer": true + "fluentMethods": true, + "relationships": [ + { + "relationshipType": "many-to-many", + "relationshipValidateRules": "required", + "relationshipName": "job", + "otherEntityName": "job", + "ownerSide": false, + "otherEntityRelationshipName": "task" + } + ], + "fields": [ + { + "fieldName": "taskId", + "fieldType": "Long" + }, + { + "fieldName": "title", + "fieldType": "String" + }, + { + "fieldName": "description", + "fieldType": "String" + } + ], + "changelogDate": "20160926100704", + "entityTableName": "task", + "dto": "no", + "pagination": "no", + "service": "no", + "jpaMetamodelFiltering": false, + "skipClient": true, + "skipServer": true }