blob: 0f3578e2e064797ed219b7723ce06cc9346ebe79 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2014, 2018 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* E.D.Willink - initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.examples.xtext2lpg.XBNF;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Syntax</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.ocl.examples.xtext2lpg.XBNF.Syntax#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.ocl.examples.xtext2lpg.XBNF.Syntax#getGrammars <em>Grammars</em>}</li>
* <li>{@link org.eclipse.ocl.examples.xtext2lpg.XBNF.Syntax#getDebug <em>Debug</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.ocl.examples.xtext2lpg.XBNF.XBNFPackage#getSyntax()
* @model
* @generated
*/
public interface Syntax extends EObject {
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.ocl.examples.xtext2lpg.XBNF.XBNFPackage#getSyntax_Name()
* @model required="true"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.ocl.examples.xtext2lpg.XBNF.Syntax#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Grammars</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.ocl.examples.xtext2lpg.XBNF.Grammar}.
* It is bidirectional and its opposite is '{@link org.eclipse.ocl.examples.xtext2lpg.XBNF.Grammar#getSyntax <em>Syntax</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Grammars</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Grammars</em>' containment reference list.
* @see org.eclipse.ocl.examples.xtext2lpg.XBNF.XBNFPackage#getSyntax_Grammars()
* @see org.eclipse.ocl.examples.xtext2lpg.XBNF.Grammar#getSyntax
* @model opposite="syntax" containment="true"
* @generated
*/
EList<Grammar> getGrammars();
/**
* Returns the value of the '<em><b>Debug</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Debug</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Debug</em>' attribute.
* @see #setDebug(String)
* @see org.eclipse.ocl.examples.xtext2lpg.XBNF.XBNFPackage#getSyntax_Debug()
* @model
* @generated
*/
String getDebug();
/**
* Sets the value of the '{@link org.eclipse.ocl.examples.xtext2lpg.XBNF.Syntax#getDebug <em>Debug</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Debug</em>' attribute.
* @see #getDebug()
* @generated
*/
void setDebug(String value);
} // Syntax