Class HutnSpecParser

  • public class HutnSpecParser
    extends EpsilonParser
    Copyright (c) 2009 The University of York. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: Louis Rose - initial API and implementation ----------------------------------------------------------------------------- ANTLR 3 License [The "BSD licence"] Copyright (c) 2005-2008 Terence Parr All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    • Field Detail

      • tokenNames

        public static final String[] tokenNames
      • adaptor

        protected org.antlr.runtime.tree.TreeAdaptor adaptor
      • FOLLOW_SPEC_in_preamble49

        public static final org.antlr.runtime.BitSet FOLLOW_SPEC_in_preamble49
      • FOLLOW_TEXTUAL_VALUE_in_preamble52

        public static final org.antlr.runtime.BitSet FOLLOW_TEXTUAL_VALUE_in_preamble52
      • FOLLOW_LBRACKET_in_preamble55

        public static final org.antlr.runtime.BitSet FOLLOW_LBRACKET_in_preamble55
      • FOLLOW_metamodel_in_preamble58

        public static final org.antlr.runtime.BitSet FOLLOW_metamodel_in_preamble58
      • FOLLOW_RBRACKET_in_preamble61

        public static final org.antlr.runtime.BitSet FOLLOW_RBRACKET_in_preamble61
      • FOLLOW_NAME_in_metamodel69

        public static final org.antlr.runtime.BitSet FOLLOW_NAME_in_metamodel69
      • FOLLOW_TEXTUAL_VALUE_in_metamodel72

        public static final org.antlr.runtime.BitSet FOLLOW_TEXTUAL_VALUE_in_metamodel72
      • FOLLOW_LBRACKET_in_metamodel75

        public static final org.antlr.runtime.BitSet FOLLOW_LBRACKET_in_metamodel75
      • FOLLOW_feature_in_metamodel78

        public static final org.antlr.runtime.BitSet FOLLOW_feature_in_metamodel78
      • FOLLOW_RBRACKET_in_metamodel81

        public static final org.antlr.runtime.BitSet FOLLOW_RBRACKET_in_metamodel81
      • FOLLOW_NAME_in_feature89

        public static final org.antlr.runtime.BitSet FOLLOW_NAME_in_feature89
      • FOLLOW_ASSIGNMENT_in_feature92

        public static final org.antlr.runtime.BitSet FOLLOW_ASSIGNMENT_in_feature92
      • FOLLOW_TEXTUAL_VALUE_in_feature95

        public static final org.antlr.runtime.BitSet FOLLOW_TEXTUAL_VALUE_in_feature95
    • Constructor Detail

      • HutnSpecParser

        public HutnSpecParser​(org.antlr.runtime.TokenStream input)
      • HutnSpecParser

        public HutnSpecParser​(org.antlr.runtime.TokenStream input,
                              org.antlr.runtime.RecognizerSharedState state)
    • Method Detail

      • setTreeAdaptor

        public void setTreeAdaptor​(org.antlr.runtime.tree.TreeAdaptor adaptor)
        Specified by:
        setTreeAdaptor in class EpsilonParser
      • getTokenNames

        public String[] getTokenNames()
        getTokenNames in class org.antlr.runtime.BaseRecognizer
      • getGrammarFileName

        public String getGrammarFileName()
        getGrammarFileName in class org.antlr.runtime.BaseRecognizer
      • preamble

        public final HutnSpecParser.preamble_return preamble()
                                                      throws org.antlr.runtime.RecognitionException
      • metamodel

        public final HutnSpecParser.metamodel_return metamodel()
                                                        throws org.antlr.runtime.RecognitionException
      • feature

        public final HutnSpecParser.feature_return feature()
                                                    throws org.antlr.runtime.RecognitionException