All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.xtext.Grammar Maven / Gradle / Ivy

/**
 * 
 * 
 *
 * $Id: Grammar.java,v 1.21 2010/04/06 14:10:21 sefftinge Exp $
 */
package org.eclipse.xtext;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * 
 * A representation of the model object 'Grammar'.
 * 
 *
 * 

* The following features are supported: *

    *
  • {@link org.eclipse.xtext.Grammar#getName Name}
  • *
  • {@link org.eclipse.xtext.Grammar#getUsedGrammars Used Grammars}
  • *
  • {@link org.eclipse.xtext.Grammar#isDefinesHiddenTokens Defines Hidden Tokens}
  • *
  • {@link org.eclipse.xtext.Grammar#getHiddenTokens Hidden Tokens}
  • *
  • {@link org.eclipse.xtext.Grammar#getMetamodelDeclarations Metamodel Declarations}
  • *
  • {@link org.eclipse.xtext.Grammar#getRules Rules}
  • *
*

* * @see org.eclipse.xtext.XtextPackage#getGrammar() * @model * @generated */ public interface Grammar extends EObject { /** * Returns the value of the 'Name' attribute. * *

* If the meaning of the 'Name' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.eclipse.xtext.XtextPackage#getGrammar_Name() * @model * @generated */ String getName(); /** * Sets the value of the '{@link org.eclipse.xtext.Grammar#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the 'Used Grammars' reference list. * The list contents are of type {@link org.eclipse.xtext.Grammar}. * *

* If the meaning of the 'Used Grammars' reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Used Grammars' reference list. * @see org.eclipse.xtext.XtextPackage#getGrammar_UsedGrammars() * @model * @generated */ EList getUsedGrammars(); /** * Returns the value of the 'Defines Hidden Tokens' attribute. * *

* If the meaning of the 'Defines Hidden Tokens' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Defines Hidden Tokens' attribute. * @see #setDefinesHiddenTokens(boolean) * @see org.eclipse.xtext.XtextPackage#getGrammar_DefinesHiddenTokens() * @model * @generated */ boolean isDefinesHiddenTokens(); /** * Sets the value of the '{@link org.eclipse.xtext.Grammar#isDefinesHiddenTokens Defines Hidden Tokens}' attribute. * * * @param value the new value of the 'Defines Hidden Tokens' attribute. * @see #isDefinesHiddenTokens() * @generated */ void setDefinesHiddenTokens(boolean value); /** * Returns the value of the 'Hidden Tokens' reference list. * The list contents are of type {@link org.eclipse.xtext.AbstractRule}. * *

* If the meaning of the 'Hidden Tokens' reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Hidden Tokens' reference list. * @see org.eclipse.xtext.XtextPackage#getGrammar_HiddenTokens() * @model * @generated */ EList getHiddenTokens(); /** * Returns the value of the 'Metamodel Declarations' containment reference list. * The list contents are of type {@link org.eclipse.xtext.AbstractMetamodelDeclaration}. * *

* If the meaning of the 'Metamodel Declarations' containment reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Metamodel Declarations' containment reference list. * @see org.eclipse.xtext.XtextPackage#getGrammar_MetamodelDeclarations() * @model containment="true" * @generated */ EList getMetamodelDeclarations(); /** * Returns the value of the 'Rules' containment reference list. * The list contents are of type {@link org.eclipse.xtext.AbstractRule}. * *

* If the meaning of the 'Rules' containment reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Rules' containment reference list. * @see org.eclipse.xtext.XtextPackage#getGrammar_Rules() * @model containment="true" * @generated */ EList getRules(); } // Grammar




© 2015 - 2025 Weber Informatics LLC | Privacy Policy