public interface Grammar
extends org.eclipse.emf.ecore.EObject
The following features are supported:
XtextPackage.getGrammar()
Modifier and Type | Method and 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 |
java.lang.String getName()
If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
setName(String)
,
XtextPackage.getGrammar_Name()
void setName(java.lang.String value)
Name
' attribute.
value
- the new value of the 'Name' attribute.getName()
org.eclipse.emf.common.util.EList<Grammar> getUsedGrammars()
Grammar
.
If the meaning of the 'Used Grammars' reference list isn't clear, there really should be more of a description here...
XtextPackage.getGrammar_UsedGrammars()
boolean isDefinesHiddenTokens()
If the meaning of the 'Defines Hidden Tokens' attribute isn't clear, there really should be more of a description here...
setDefinesHiddenTokens(boolean)
,
XtextPackage.getGrammar_DefinesHiddenTokens()
void setDefinesHiddenTokens(boolean value)
Defines Hidden Tokens
' attribute.
value
- the new value of the 'Defines Hidden Tokens' attribute.isDefinesHiddenTokens()
org.eclipse.emf.common.util.EList<AbstractRule> getHiddenTokens()
AbstractRule
.
If the meaning of the 'Hidden Tokens' reference list isn't clear, there really should be more of a description here...
XtextPackage.getGrammar_HiddenTokens()
org.eclipse.emf.common.util.EList<AbstractMetamodelDeclaration> getMetamodelDeclarations()
AbstractMetamodelDeclaration
.
If the meaning of the 'Metamodel Declarations' containment reference list isn't clear, there really should be more of a description here...
XtextPackage.getGrammar_MetamodelDeclarations()
org.eclipse.emf.common.util.EList<AbstractRule> getRules()
AbstractRule
.
If the meaning of the 'Rules' containment reference list isn't clear, there really should be more of a description here...
XtextPackage.getGrammar_Rules()