| <?xml version="1.0" standalone="no"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <grammar xmlns="http://chaperon.sourceforge.net/schema/grammar/1.0"> |
| <priority> |
| <terminal symbol="plus"/> |
| </priority> |
| |
| <associativity symbol="plus" type="right"/> |
| |
| <production symbol="intervall"> |
| <terminal symbol="character"/><terminal symbol="minus"/><terminal symbol="character"/> |
| </production> |
| |
| <production symbol="intervall"> |
| <terminal symbol="maskedcharacter"/><terminal symbol="minus"/><terminal symbol="character"/> |
| </production> |
| |
| <production symbol="intervall"> |
| <terminal symbol="character"/><terminal symbol="minus"/><terminal symbol="maskedcharacter"/> |
| </production> |
| |
| <production symbol="intervall"> |
| <terminal symbol="maskedcharacter"/><terminal symbol="minus"/><terminal symbol="maskedcharacter"/> |
| </production> |
| |
| <production symbol="sequence"> |
| <nonterminal symbol="sequence"/><nonterminal symbol="intervall"/> |
| </production> |
| |
| <production symbol="sequence"> |
| <nonterminal symbol="sequence"/><terminal symbol="character"/> |
| </production> |
| |
| <production symbol="sequence"> |
| <nonterminal symbol="sequence"/><terminal symbol="maskedcharacter"/> |
| </production> |
| |
| <production symbol="sequence"> |
| <nonterminal symbol="intervall"/> |
| </production> |
| |
| <production symbol="sequence"> |
| <terminal symbol="character"/> |
| </production> |
| |
| <production symbol="sequence"> |
| <terminal symbol="maskedcharacter"/> |
| </production> |
| |
| <production symbol="string"> |
| <nonterminal symbol="string"/><terminal symbol="character"/> |
| </production> |
| |
| <!-- <production symbol="string"> |
| <nonterminal symbol="string"/><terminal symbol="maskedcharacter"/> |
| </production>--> |
| |
| <production symbol="string"> |
| <terminal symbol="character"/> |
| </production> |
| |
| <!-- <production symbol="string"> |
| <terminal symbol="maskedcharacter"/> |
| </production>--> |
| |
| <production symbol="characterclass"> |
| <terminal symbol="ccbegin"/><nonterminal symbol="sequence"/><terminal symbol="ccend"/> |
| </production> |
| |
| <production symbol="exclusivecharacterclass"> |
| <terminal symbol="ccbegin"/><terminal symbol="hat"/><nonterminal symbol="sequence"/><terminal symbol="ccend"/> |
| </production> |
| |
| <production symbol="regexdot"> |
| <terminal symbol="regexdot"/> |
| </production> |
| |
| <production symbol="regexbol"> |
| <terminal symbol="hat"/> |
| </production> |
| |
| <production symbol="regexeol"> |
| <terminal symbol="dollar"/> |
| </production> |
| |
| <production symbol="regexklammer"> |
| <terminal symbol="dopen"/><nonterminal symbol="regexalternation"/><terminal symbol="dclose"/> |
| </production> |
| |
| <production symbol="regexabref"> |
| <terminal symbol="abopen"/><nonterminal symbol="string"/><terminal symbol="abclose"/> |
| </production> |
| |
| <production symbol="regexterm"> |
| <nonterminal symbol="characterclass"/> |
| </production> |
| |
| <production symbol="regexterm"> |
| <nonterminal symbol="exclusivecharacterclass"/> |
| </production> |
| |
| <production symbol="regexterm"> |
| <nonterminal symbol="regexklammer"/> |
| </production> |
| |
| <production symbol="regexterm"> |
| <nonterminal symbol="string"/> |
| </production> |
| |
| <production symbol="regexterm"> |
| <terminal symbol="maskedcharacter"/> |
| </production> |
| |
| <production symbol="regexterm"> |
| <nonterminal symbol="regexdot"/> |
| </production> |
| |
| <production symbol="regexterm"> |
| <nonterminal symbol="regexbol"/> |
| </production> |
| |
| <production symbol="regexterm"> |
| <nonterminal symbol="regexabref"/> |
| </production> |
| |
| <production symbol="regexoptional"> |
| <nonterminal symbol="regexterm"/><terminal symbol="questionmark"/> |
| </production> |
| |
| <production symbol="regexstar"> |
| <nonterminal symbol="regexterm"/><terminal symbol="mult"/> |
| </production> |
| |
| <production symbol="regexplus"> |
| <nonterminal symbol="regexterm"/><terminal symbol="plus"/> |
| </production> |
| |
| <production symbol="regexmultiplicator"> |
| <terminal symbol="copen"/><nonterminal symbol="string"/><terminal symbol="cclose"/> |
| </production> |
| |
| <production symbol="regexmultiplicator"> |
| <terminal symbol="copen"/><nonterminal symbol="string"/> |
| <terminal symbol="comma"/><nonterminal symbol="string"/><terminal symbol="cclose"/> |
| </production> |
| |
| <production symbol="regexvar"> |
| <nonterminal symbol="regexterm"/><nonterminal symbol="regexmultiplicator"/> |
| </production> |
| |
| <production symbol="regexquantifier"> |
| <nonterminal symbol="regexoptional"/> |
| </production> |
| |
| <production symbol="regexquantifier"> |
| <nonterminal symbol="regexstar"/> |
| </production> |
| |
| <production symbol="regexquantifier"> |
| <nonterminal symbol="regexplus"/> |
| </production> |
| |
| <production symbol="regexquantifier" precedence="plus"> |
| <nonterminal symbol="regexterm"/> |
| </production> |
| |
| <production symbol="regexquantifier"> |
| <nonterminal symbol="regexvar"/> |
| </production> |
| |
| <production symbol="regexconcatenation"> |
| <nonterminal symbol="regexconcatenation"/><nonterminal symbol="regexquantifier"/> |
| </production> |
| |
| <production symbol="regexconcatenation"> |
| <nonterminal symbol="regexquantifier"/> |
| </production> |
| |
| <production symbol="regexalternation"> |
| <nonterminal symbol="regexalternation"/><terminal symbol="alt"/><nonterminal symbol="regexconcatenation"/> |
| </production> |
| |
| <production symbol="regexalternation"> |
| <nonterminal symbol="regexconcatenation"/> |
| </production> |
| |
| <production symbol="regexexpression"> |
| <nonterminal symbol="regexalternation"/> |
| </production> |
| |
| <start symbol="regexexpression"/> |
| </grammar> |