Interface Grammar
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
GrammarImpl
public interface Grammar extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Grammar'.The following features are supported:
- See Also:
XtextPackage.getGrammar()
- Model:
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<AbstractRule>
getHiddenTokens()
Returns the value of the 'Hidden Tokens' reference list.org.eclipse.emf.common.util.EList<AbstractMetamodelDeclaration>
getMetamodelDeclarations()
Returns the value of the 'Metamodel Declarations' containment reference list.java.lang.String
getName()
Returns the value of the 'Name' attribute.org.eclipse.emf.common.util.EList<AbstractRule>
getRules()
Returns the value of the 'Rules' containment reference list.org.eclipse.emf.common.util.EList<Grammar>
getUsedGrammars()
Returns the value of the 'Used Grammars' reference list.boolean
isDefinesHiddenTokens()
Returns the value of the 'Defines Hidden Tokens' attribute.void
setDefinesHiddenTokens(boolean value)
Sets the value of the 'Defines Hidden Tokens
' attribute.void
setName(java.lang.String value)
Sets the value of the 'Name
' attribute.
-
-
-
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)
,XtextPackage.getGrammar_Name()
- Model:
- Generated:
-
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()
- Generated:
-
getUsedGrammars
org.eclipse.emf.common.util.EList<Grammar> getUsedGrammars()
Returns the value of the 'Used Grammars' reference list. The list contents are of typeGrammar
.If the meaning of the 'Used Grammars' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Used Grammars' reference list.
- See Also:
XtextPackage.getGrammar_UsedGrammars()
- Model:
- Generated:
-
isDefinesHiddenTokens
boolean isDefinesHiddenTokens()
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...
- Returns:
- the value of the 'Defines Hidden Tokens' attribute.
- See Also:
setDefinesHiddenTokens(boolean)
,XtextPackage.getGrammar_DefinesHiddenTokens()
- Model:
- Generated:
-
setDefinesHiddenTokens
void setDefinesHiddenTokens(boolean value)
Sets the value of the 'Defines Hidden Tokens
' attribute.- Parameters:
value
- the new value of the 'Defines Hidden Tokens' attribute.- See Also:
isDefinesHiddenTokens()
- Generated:
-
getHiddenTokens
org.eclipse.emf.common.util.EList<AbstractRule> getHiddenTokens()
Returns the value of the 'Hidden Tokens' reference list. The list contents are of typeAbstractRule
.If the meaning of the 'Hidden Tokens' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Hidden Tokens' reference list.
- See Also:
XtextPackage.getGrammar_HiddenTokens()
- Model:
- Generated:
-
getMetamodelDeclarations
org.eclipse.emf.common.util.EList<AbstractMetamodelDeclaration> getMetamodelDeclarations()
Returns the value of the 'Metamodel Declarations' containment reference list. The list contents are of typeAbstractMetamodelDeclaration
.If the meaning of the 'Metamodel Declarations' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Metamodel Declarations' containment reference list.
- See Also:
XtextPackage.getGrammar_MetamodelDeclarations()
- Model:
- containment="true"
- Generated:
-
getRules
org.eclipse.emf.common.util.EList<AbstractRule> getRules()
Returns the value of the 'Rules' containment reference list. The list contents are of typeAbstractRule
.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:
XtextPackage.getGrammar_Rules()
- Model:
- containment="true"
- Generated:
-
-