Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,73 +1,98 @@
/**
* <copyright>
* </copyright>
*
*/
package org.eclipse.xtext.xdoc.xdoc;

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

import org.eclipse.emf.ecore.EObject;

/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Code Block</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.xtext.xdoc.xdoc.CodeBlock#getContents <em>Contents</em>}</li>
* <li>{@link org.eclipse.xtext.xdoc.xdoc.CodeBlock#getLanguage <em>Language</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.xtext.xdoc.xdoc.XdocPackage#getCodeBlock()
* @model
* @generated
*/
public interface CodeBlock extends MarkUp
{
/**
* Returns the value of the '<em><b>Contents</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.emf.ecore.EObject}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Contents</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>Contents</em>' containment reference list.
* @see org.eclipse.xtext.xdoc.xdoc.XdocPackage#getCodeBlock_Contents()
* @model containment="true"
* @generated
*/
EList<EObject> getContents();

/**
* Returns the value of the '<em><b>Language</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Language</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Language</em>' reference.
* @see #setLanguage(LangDef)
* @see org.eclipse.xtext.xdoc.xdoc.XdocPackage#getCodeBlock_Language()
* @model
* @generated
*/
LangDef getLanguage();

/**
* Sets the value of the '{@link org.eclipse.xtext.xdoc.xdoc.CodeBlock#getLanguage <em>Language</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Language</em>' reference.
* @see #getLanguage()
* @generated
*/
void setLanguage(LangDef value);

} // CodeBlock
/**
*/
package org.eclipse.xtext.xdoc.xdoc;

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

import org.eclipse.emf.ecore.EObject;

/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Code Block</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.xtext.xdoc.xdoc.CodeBlock#getContents <em>Contents</em>}</li>
* <li>{@link org.eclipse.xtext.xdoc.xdoc.CodeBlock#getLanguage <em>Language</em>}</li>
* <li>{@link org.eclipse.xtext.xdoc.xdoc.CodeBlock#isRaw <em>Raw</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.xtext.xdoc.xdoc.XdocPackage#getCodeBlock()
* @model
* @generated
*/
public interface CodeBlock extends MarkUp
{
/**
* Returns the value of the '<em><b>Contents</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.emf.ecore.EObject}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Contents</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>Contents</em>' containment reference list.
* @see org.eclipse.xtext.xdoc.xdoc.XdocPackage#getCodeBlock_Contents()
* @model containment="true"
* @generated
*/
EList<EObject> getContents();

/**
* Returns the value of the '<em><b>Language</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Language</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Language</em>' reference.
* @see #setLanguage(LangDef)
* @see org.eclipse.xtext.xdoc.xdoc.XdocPackage#getCodeBlock_Language()
* @model
* @generated
*/
LangDef getLanguage();

/**
* Sets the value of the '{@link org.eclipse.xtext.xdoc.xdoc.CodeBlock#getLanguage <em>Language</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Language</em>' reference.
* @see #getLanguage()
* @generated
*/
void setLanguage(LangDef value);

/**
* Returns the value of the '<em><b>Raw</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Raw</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Raw</em>' attribute.
* @see #setRaw(boolean)
* @see org.eclipse.xtext.xdoc.xdoc.XdocPackage#getCodeBlock_Raw()
* @model default="false"
* @generated
*/
boolean isRaw();

/**
* Sets the value of the '{@link org.eclipse.xtext.xdoc.xdoc.CodeBlock#isRaw <em>Raw</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Raw</em>' attribute.
* @see #isRaw()
* @generated
*/
void setRaw(boolean value);

} // CodeBlock
Loading