org.nasdanika.models.source.SourcePackage Maven / Gradle / Ivy
The newest version!
/**
*/
package org.nasdanika.models.source;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EOperation;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.nasdanika.ncore.NcorePackage;
/**
*
* The Package for the model.
* It contains accessors for the meta objects to represent
*
* - each class,
* - each feature of each class,
* - each operation of each class,
* - each enum,
* - and each data type
*
*
* @see org.nasdanika.models.source.SourceFactory
* @model kind="package"
* @generated
*/
public interface SourcePackage extends EPackage {
/**
* The package name.
*
*
* @generated
*/
String eNAME = "source";
/**
* The package namespace URI.
*
*
* @generated
*/
String eNS_URI = "ecore://nasdanika.org/models/source";
/**
* The package namespace name.
*
*
* @generated
*/
String eNS_PREFIX = "org.nasdanika.models.source";
/**
* The singleton instance of the package.
*
*
* @generated
*/
SourcePackage eINSTANCE = org.nasdanika.models.source.impl.SourcePackageImpl.init();
/**
* The meta object id for the '{@link java.util.function.Function Token Source}' class.
*
*
* @see java.util.function.Function
* @see org.nasdanika.models.source.impl.SourcePackageImpl#getTokenSource()
* @generated
*/
int TOKEN_SOURCE = 0;
/**
* The number of structural features of the 'Token Source' class.
*
*
* @generated
* @ordered
*/
int TOKEN_SOURCE_FEATURE_COUNT = 0;
/**
* The number of operations of the 'Token Source' class.
*
*
* @generated
* @ordered
*/
int TOKEN_SOURCE_OPERATION_COUNT = 0;
/**
* The meta object id for the '{@link java.lang.Comparable Comparable}' class.
*
*
* @see java.lang.Comparable
* @see org.nasdanika.models.source.impl.SourcePackageImpl#getComparable()
* @generated
*/
int COMPARABLE = 1;
/**
* The number of structural features of the 'Comparable' class.
*
*
* @generated
* @ordered
*/
int COMPARABLE_FEATURE_COUNT = 0;
/**
* The number of operations of the 'Comparable' class.
*
*
* @generated
* @ordered
*/
int COMPARABLE_OPERATION_COUNT = 0;
/**
* The meta object id for the '{@link org.nasdanika.models.source.impl.PositionImpl Position}' class.
*
*
* @see org.nasdanika.models.source.impl.PositionImpl
* @see org.nasdanika.models.source.impl.SourcePackageImpl#getPosition()
* @generated
*/
int POSITION = 2;
/**
* The feature id for the 'Line' attribute.
*
*
* @generated
* @ordered
*/
int POSITION__LINE = COMPARABLE_FEATURE_COUNT + 0;
/**
* The feature id for the 'Column' attribute.
*
*
* @generated
* @ordered
*/
int POSITION__COLUMN = COMPARABLE_FEATURE_COUNT + 1;
/**
* The feature id for the 'Exclusive' attribute.
*
*
* @generated
* @ordered
*/
int POSITION__EXCLUSIVE = COMPARABLE_FEATURE_COUNT + 2;
/**
* The number of structural features of the 'Position' class.
*
*
* @generated
* @ordered
*/
int POSITION_FEATURE_COUNT = COMPARABLE_FEATURE_COUNT + 3;
/**
* The number of operations of the 'Position' class.
*
*
* @generated
* @ordered
*/
int POSITION_OPERATION_COUNT = COMPARABLE_OPERATION_COUNT + 0;
/**
* The meta object id for the '{@link org.nasdanika.models.source.impl.RangeImpl Range}' class.
*
*
* @see org.nasdanika.models.source.impl.RangeImpl
* @see org.nasdanika.models.source.impl.SourcePackageImpl#getRange()
* @generated
*/
int RANGE = 3;
/**
* The feature id for the 'Markers' containment reference list.
*
*
* @generated
* @ordered
*/
int RANGE__MARKERS = NcorePackage.MARKED__MARKERS;
/**
* The feature id for the 'Begin' containment reference.
*
*
* @generated
* @ordered
*/
int RANGE__BEGIN = NcorePackage.MARKED_FEATURE_COUNT + 0;
/**
* The feature id for the 'End' containment reference.
*
*
* @generated
* @ordered
*/
int RANGE__END = NcorePackage.MARKED_FEATURE_COUNT + 1;
/**
* The number of structural features of the 'Range' class.
*
*
* @generated
* @ordered
*/
int RANGE_FEATURE_COUNT = NcorePackage.MARKED_FEATURE_COUNT + 2;
/**
* The operation id for the 'Contains' operation.
*
*
* @generated
* @ordered
*/
int RANGE___CONTAINS__RANGE = NcorePackage.MARKED_OPERATION_COUNT + 0;
/**
* The operation id for the 'Contains' operation.
*
*
* @generated
* @ordered
*/
int RANGE___CONTAINS__POSITION = NcorePackage.MARKED_OPERATION_COUNT + 1;
/**
* The operation id for the 'Overlaps' operation.
*
*
* @generated
* @ordered
*/
int RANGE___OVERLAPS__RANGE = NcorePackage.MARKED_OPERATION_COUNT + 2;
/**
* The operation id for the 'Text' operation.
*
*
* @generated
* @ordered
*/
int RANGE___TEXT__STRING = NcorePackage.MARKED_OPERATION_COUNT + 3;
/**
* The operation id for the 'Text' operation.
*
*
* @generated
* @ordered
*/
int RANGE___TEXT__SOURCE = NcorePackage.MARKED_OPERATION_COUNT + 4;
/**
* The operation id for the 'Offset' operation.
*
*
* @generated
* @ordered
*/
int RANGE___OFFSET__POSITION = NcorePackage.MARKED_OPERATION_COUNT + 5;
/**
* The number of operations of the 'Range' class.
*
*
* @generated
* @ordered
*/
int RANGE_OPERATION_COUNT = NcorePackage.MARKED_OPERATION_COUNT + 6;
/**
* The meta object id for the '{@link org.nasdanika.models.source.impl.SourceImpl Source}' class.
*
*
* @see org.nasdanika.models.source.impl.SourceImpl
* @see org.nasdanika.models.source.impl.SourcePackageImpl#getSource()
* @generated
*/
int SOURCE = 4;
/**
* The feature id for the 'Markers' containment reference list.
*
*
* @generated
* @ordered
*/
int SOURCE__MARKERS = RANGE__MARKERS;
/**
* The feature id for the 'Begin' containment reference.
*
*
* @generated
* @ordered
*/
int SOURCE__BEGIN = RANGE__BEGIN;
/**
* The feature id for the 'End' containment reference.
*
*
* @generated
* @ordered
*/
int SOURCE__END = RANGE__END;
/**
* The feature id for the 'Source' attribute.
*
*
* @generated
* @ordered
*/
int SOURCE__SOURCE = RANGE_FEATURE_COUNT + 0;
/**
* The feature id for the 'Children' containment reference list.
*
*
* @generated
* @ordered
*/
int SOURCE__CHILDREN = RANGE_FEATURE_COUNT + 1;
/**
* The feature id for the 'Indent' attribute.
*
*
* @generated
* @ordered
*/
int SOURCE__INDENT = RANGE_FEATURE_COUNT + 2;
/**
* The feature id for the 'Interpolate' attribute.
*
*
* @generated
* @ordered
*/
int SOURCE__INTERPOLATE = RANGE_FEATURE_COUNT + 3;
/**
* The feature id for the 'Generation Mode' attribute.
*
*
* @generated
* @ordered
*/
int SOURCE__GENERATION_MODE = RANGE_FEATURE_COUNT + 4;
/**
* The number of structural features of the 'Source' class.
*
*
* @generated
* @ordered
*/
int SOURCE_FEATURE_COUNT = RANGE_FEATURE_COUNT + 5;
/**
* The operation id for the 'Contains' operation.
*
*
* @generated
* @ordered
*/
int SOURCE___CONTAINS__RANGE = RANGE___CONTAINS__RANGE;
/**
* The operation id for the 'Contains' operation.
*
*
* @generated
* @ordered
*/
int SOURCE___CONTAINS__POSITION = RANGE___CONTAINS__POSITION;
/**
* The operation id for the 'Overlaps' operation.
*
*
* @generated
* @ordered
*/
int SOURCE___OVERLAPS__RANGE = RANGE___OVERLAPS__RANGE;
/**
* The operation id for the 'Text' operation.
*
*
* @generated
* @ordered
*/
int SOURCE___TEXT__STRING = RANGE___TEXT__STRING;
/**
* The operation id for the 'Text' operation.
*
*
* @generated
* @ordered
*/
int SOURCE___TEXT__SOURCE = RANGE___TEXT__SOURCE;
/**
* The operation id for the 'Offset' operation.
*
*
* @generated
* @ordered
*/
int SOURCE___OFFSET__POSITION = RANGE___OFFSET__POSITION;
/**
* The operation id for the 'Generate' operation.
*
*
* @generated
* @ordered
*/
int SOURCE___GENERATE__FUNCTION_INT = RANGE_OPERATION_COUNT + 0;
/**
* The number of operations of the 'Source' class.
*
*
* @generated
* @ordered
*/
int SOURCE_OPERATION_COUNT = RANGE_OPERATION_COUNT + 1;
/**
* The meta object id for the '{@link org.nasdanika.models.source.GenerationMode Generation Mode}' enum.
*
*
* @see org.nasdanika.models.source.GenerationMode
* @see org.nasdanika.models.source.impl.SourcePackageImpl#getGenerationMode()
* @generated
*/
int GENERATION_MODE = 5;
/**
* Returns the meta object for class '{@link java.util.function.Function Token Source}'.
*
*
* @return the meta object for class 'Token Source'.
* @see java.util.function.Function
* @model instanceClass="java.util.function.Function<String, String>"
* @generated
*/
EClass getTokenSource();
/**
* Returns the meta object for class '{@link java.lang.Comparable Comparable}'.
*
*
* @return the meta object for class 'Comparable'.
* @see java.lang.Comparable
* @model instanceClass="java.lang.Comparable" typeParameters="T"
* @generated
*/
EClass getComparable();
/**
* Returns the meta object for class '{@link org.nasdanika.models.source.Position Position}'.
*
*
* @return the meta object for class 'Position'.
* @see org.nasdanika.models.source.Position
* @generated
*/
EClass getPosition();
/**
* Returns the meta object for the attribute '{@link org.nasdanika.models.source.Position#getLine Line}'.
*
*
* @return the meta object for the attribute 'Line'.
* @see org.nasdanika.models.source.Position#getLine()
* @see #getPosition()
* @generated
*/
EAttribute getPosition_Line();
/**
* Returns the meta object for the attribute '{@link org.nasdanika.models.source.Position#getColumn Column}'.
*
*
* @return the meta object for the attribute 'Column'.
* @see org.nasdanika.models.source.Position#getColumn()
* @see #getPosition()
* @generated
*/
EAttribute getPosition_Column();
/**
* Returns the meta object for the attribute '{@link org.nasdanika.models.source.Position#isExclusive Exclusive}'.
*
*
* @return the meta object for the attribute 'Exclusive'.
* @see org.nasdanika.models.source.Position#isExclusive()
* @see #getPosition()
* @generated
*/
EAttribute getPosition_Exclusive();
/**
* Returns the meta object for class '{@link org.nasdanika.models.source.Range Range}'.
*
*
* @return the meta object for class 'Range'.
* @see org.nasdanika.models.source.Range
* @generated
*/
EClass getRange();
/**
* Returns the meta object for the containment reference '{@link org.nasdanika.models.source.Range#getBegin Begin}'.
*
*
* @return the meta object for the containment reference 'Begin'.
* @see org.nasdanika.models.source.Range#getBegin()
* @see #getRange()
* @generated
*/
EReference getRange_Begin();
/**
* Returns the meta object for the containment reference '{@link org.nasdanika.models.source.Range#getEnd End}'.
*
*
* @return the meta object for the containment reference 'End'.
* @see org.nasdanika.models.source.Range#getEnd()
* @see #getRange()
* @generated
*/
EReference getRange_End();
/**
* Returns the meta object for the '{@link org.nasdanika.models.source.Range#contains(org.nasdanika.models.source.Range) Contains}' operation.
*
*
* @return the meta object for the 'Contains' operation.
* @see org.nasdanika.models.source.Range#contains(org.nasdanika.models.source.Range)
* @generated
*/
EOperation getRange__Contains__Range();
/**
* Returns the meta object for the '{@link org.nasdanika.models.source.Range#contains(org.nasdanika.models.source.Position) Contains}' operation.
*
*
* @return the meta object for the 'Contains' operation.
* @see org.nasdanika.models.source.Range#contains(org.nasdanika.models.source.Position)
* @generated
*/
EOperation getRange__Contains__Position();
/**
* Returns the meta object for the '{@link org.nasdanika.models.source.Range#overlaps(org.nasdanika.models.source.Range) Overlaps}' operation.
*
*
* @return the meta object for the 'Overlaps' operation.
* @see org.nasdanika.models.source.Range#overlaps(org.nasdanika.models.source.Range)
* @generated
*/
EOperation getRange__Overlaps__Range();
/**
* Returns the meta object for the '{@link org.nasdanika.models.source.Range#text(java.lang.String) Text}' operation.
*
*
* @return the meta object for the 'Text' operation.
* @see org.nasdanika.models.source.Range#text(java.lang.String)
* @generated
*/
EOperation getRange__Text__String();
/**
* Returns the meta object for the '{@link org.nasdanika.models.source.Range#text(org.nasdanika.models.source.Source) Text}' operation.
*
*
* @return the meta object for the 'Text' operation.
* @see org.nasdanika.models.source.Range#text(org.nasdanika.models.source.Source)
* @generated
*/
EOperation getRange__Text__Source();
/**
* Returns the meta object for the '{@link org.nasdanika.models.source.Range#offset(org.nasdanika.models.source.Position) Offset}' operation.
*
*
* @return the meta object for the 'Offset' operation.
* @see org.nasdanika.models.source.Range#offset(org.nasdanika.models.source.Position)
* @generated
*/
EOperation getRange__Offset__Position();
/**
* Returns the meta object for class '{@link org.nasdanika.models.source.Source Source}'.
*
*
* @return the meta object for class 'Source'.
* @see org.nasdanika.models.source.Source
* @generated
*/
EClass getSource();
/**
* Returns the meta object for the attribute '{@link org.nasdanika.models.source.Source#getSource Source}'.
*
*
* @return the meta object for the attribute 'Source'.
* @see org.nasdanika.models.source.Source#getSource()
* @see #getSource()
* @generated
*/
EAttribute getSource_Source();
/**
* Returns the meta object for the containment reference list '{@link org.nasdanika.models.source.Source#getChildren Children}'.
*
*
* @return the meta object for the containment reference list 'Children'.
* @see org.nasdanika.models.source.Source#getChildren()
* @see #getSource()
* @generated
*/
EReference getSource_Children();
/**
* Returns the meta object for the attribute '{@link org.nasdanika.models.source.Source#getIndent Indent}'.
*
*
* @return the meta object for the attribute 'Indent'.
* @see org.nasdanika.models.source.Source#getIndent()
* @see #getSource()
* @generated
*/
EAttribute getSource_Indent();
/**
* Returns the meta object for the attribute '{@link org.nasdanika.models.source.Source#isInterpolate Interpolate}'.
*
*
* @return the meta object for the attribute 'Interpolate'.
* @see org.nasdanika.models.source.Source#isInterpolate()
* @see #getSource()
* @generated
*/
EAttribute getSource_Interpolate();
/**
* Returns the meta object for the attribute '{@link org.nasdanika.models.source.Source#getGenerationMode Generation Mode}'.
*
*
* @return the meta object for the attribute 'Generation Mode'.
* @see org.nasdanika.models.source.Source#getGenerationMode()
* @see #getSource()
* @generated
*/
EAttribute getSource_GenerationMode();
/**
* Returns the meta object for the '{@link org.nasdanika.models.source.Source#generate(java.util.function.Function, int) Generate}' operation.
*
*
* @return the meta object for the 'Generate' operation.
* @see org.nasdanika.models.source.Source#generate(java.util.function.Function, int)
* @generated
*/
EOperation getSource__Generate__Function_int();
/**
* Returns the meta object for enum '{@link org.nasdanika.models.source.GenerationMode Generation Mode}'.
*
*
* @return the meta object for enum 'Generation Mode'.
* @see org.nasdanika.models.source.GenerationMode
* @generated
*/
EEnum getGenerationMode();
/**
* Returns the factory that creates the instances of the model.
*
*
* @return the factory that creates the instances of the model.
* @generated
*/
SourceFactory getSourceFactory();
/**
*
* Defines literals for the meta objects that represent
*
* - each class,
* - each feature of each class,
* - each operation of each class,
* - each enum,
* - and each data type
*
*
* @generated
*/
interface Literals {
/**
* The meta object literal for the '{@link java.util.function.Function Token Source}' class.
*
*
* @see java.util.function.Function
* @see org.nasdanika.models.source.impl.SourcePackageImpl#getTokenSource()
* @generated
*/
EClass TOKEN_SOURCE = eINSTANCE.getTokenSource();
/**
* The meta object literal for the '{@link java.lang.Comparable Comparable}' class.
*
*
* @see java.lang.Comparable
* @see org.nasdanika.models.source.impl.SourcePackageImpl#getComparable()
* @generated
*/
EClass COMPARABLE = eINSTANCE.getComparable();
/**
* The meta object literal for the '{@link org.nasdanika.models.source.impl.PositionImpl Position}' class.
*
*
* @see org.nasdanika.models.source.impl.PositionImpl
* @see org.nasdanika.models.source.impl.SourcePackageImpl#getPosition()
* @generated
*/
EClass POSITION = eINSTANCE.getPosition();
/**
* The meta object literal for the 'Line' attribute feature.
*
*
* @generated
*/
EAttribute POSITION__LINE = eINSTANCE.getPosition_Line();
/**
* The meta object literal for the 'Column' attribute feature.
*
*
* @generated
*/
EAttribute POSITION__COLUMN = eINSTANCE.getPosition_Column();
/**
* The meta object literal for the 'Exclusive' attribute feature.
*
*
* @generated
*/
EAttribute POSITION__EXCLUSIVE = eINSTANCE.getPosition_Exclusive();
/**
* The meta object literal for the '{@link org.nasdanika.models.source.impl.RangeImpl Range}' class.
*
*
* @see org.nasdanika.models.source.impl.RangeImpl
* @see org.nasdanika.models.source.impl.SourcePackageImpl#getRange()
* @generated
*/
EClass RANGE = eINSTANCE.getRange();
/**
* The meta object literal for the 'Begin' containment reference feature.
*
*
* @generated
*/
EReference RANGE__BEGIN = eINSTANCE.getRange_Begin();
/**
* The meta object literal for the 'End' containment reference feature.
*
*
* @generated
*/
EReference RANGE__END = eINSTANCE.getRange_End();
/**
* The meta object literal for the 'Contains' operation.
*
*
* @generated
*/
EOperation RANGE___CONTAINS__RANGE = eINSTANCE.getRange__Contains__Range();
/**
* The meta object literal for the 'Contains' operation.
*
*
* @generated
*/
EOperation RANGE___CONTAINS__POSITION = eINSTANCE.getRange__Contains__Position();
/**
* The meta object literal for the 'Overlaps' operation.
*
*
* @generated
*/
EOperation RANGE___OVERLAPS__RANGE = eINSTANCE.getRange__Overlaps__Range();
/**
* The meta object literal for the 'Text' operation.
*
*
* @generated
*/
EOperation RANGE___TEXT__STRING = eINSTANCE.getRange__Text__String();
/**
* The meta object literal for the 'Text' operation.
*
*
* @generated
*/
EOperation RANGE___TEXT__SOURCE = eINSTANCE.getRange__Text__Source();
/**
* The meta object literal for the 'Offset' operation.
*
*
* @generated
*/
EOperation RANGE___OFFSET__POSITION = eINSTANCE.getRange__Offset__Position();
/**
* The meta object literal for the '{@link org.nasdanika.models.source.impl.SourceImpl Source}' class.
*
*
* @see org.nasdanika.models.source.impl.SourceImpl
* @see org.nasdanika.models.source.impl.SourcePackageImpl#getSource()
* @generated
*/
EClass SOURCE = eINSTANCE.getSource();
/**
* The meta object literal for the 'Source' attribute feature.
*
*
* @generated
*/
EAttribute SOURCE__SOURCE = eINSTANCE.getSource_Source();
/**
* The meta object literal for the 'Children' containment reference list feature.
*
*
* @generated
*/
EReference SOURCE__CHILDREN = eINSTANCE.getSource_Children();
/**
* The meta object literal for the 'Indent' attribute feature.
*
*
* @generated
*/
EAttribute SOURCE__INDENT = eINSTANCE.getSource_Indent();
/**
* The meta object literal for the 'Interpolate' attribute feature.
*
*
* @generated
*/
EAttribute SOURCE__INTERPOLATE = eINSTANCE.getSource_Interpolate();
/**
* The meta object literal for the 'Generation Mode' attribute feature.
*
*
* @generated
*/
EAttribute SOURCE__GENERATION_MODE = eINSTANCE.getSource_GenerationMode();
/**
* The meta object literal for the 'Generate' operation.
*
*
* @generated
*/
EOperation SOURCE___GENERATE__FUNCTION_INT = eINSTANCE.getSource__Generate__Function_int();
/**
* The meta object literal for the '{@link org.nasdanika.models.source.GenerationMode Generation Mode}' enum.
*
*
* @see org.nasdanika.models.source.GenerationMode
* @see org.nasdanika.models.source.impl.SourcePackageImpl#getGenerationMode()
* @generated
*/
EEnum GENERATION_MODE = eINSTANCE.getGenerationMode();
}
} //SourcePackage