org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr
Interface AntlrGrammar

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
AntlrGrammarImpl

public interface AntlrGrammar
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Antlr Grammar'.

The following features are supported:

See Also:
SimpleAntlrPackage.getAntlrGrammar()
EMF generated code
EMF model element

Method Summary
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 Options getOptions()
          Returns the value of the 'Options' containment reference
 org.eclipse.emf.common.util.EList<Rule> getRules()
          Returns the value of the 'Rules' containment reference list.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setOptions(Options value)
          Sets the value of the 'Options' containment reference
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getName

java.lang.String getName()
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...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), SimpleAntlrPackage.getAntlrGrammar_Name()
EMF generated code
EMF model element

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
EMF generated code

getOptions

Options getOptions()
Returns the value of the 'Options' containment reference.

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

Returns:
the value of the 'Options' containment reference.
See Also:
setOptions(Options), SimpleAntlrPackage.getAntlrGrammar_Options()
EMF generated code
EMF model element
containment="true"

setOptions

void setOptions(Options value)
Sets the value of the 'Options' containment reference.

Parameters:
value - the new value of the 'Options' containment reference.
See Also:
getOptions()
EMF generated code

getRules

org.eclipse.emf.common.util.EList<Rule> getRules()
Returns the value of the 'Rules' containment reference list. The list contents are of type Rule.

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

Returns:
the value of the 'Rules' containment reference list.
See Also:
SimpleAntlrPackage.getAntlrGrammar_Rules()
EMF generated code
EMF model element
containment="true"