| Package | Description |
|---|---|
| net.sourceforge.nrl.parser.ast.impl |
The ANTLR v3 implementation of the AST, including a JFlex lexer and ANTLR v3
parser.
|
| net.sourceforge.nrl.parser.model |
Definition of the internal meta-model that rules are written against.
|
| net.sourceforge.nrl.parser.model.uml2 |
A model implementation that provides an implementation over the UML2 model
classes.
|
| net.sourceforge.nrl.parser.model.xsd |
XML Schema model loader.
|
| Modifier and Type | Method and Description |
|---|---|
protected IClassifier |
AntlrModelResolverVisitor.getRuleContext() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AntlrModelResolver.resolveAction(IAction action,
IClassifier context,
Map<String,IVariableDeclaration> globalVariables,
List<Variable> variables,
List<NRLError> errors) |
static void |
ModelReferenceHelper.resolveReference(ModelReferenceImpl ref,
IModelCollection models,
IModelElement contextElement,
IClassifier initialContext,
VariableContext variableContext,
Map<String,IVariableDeclaration> globalVariableContext,
List<NRLError> errors)
Resolve a reference by looking up the initial step and traversing a path.
|
| Constructor and Description |
|---|
AntlrModelResolverVisitor(IClassifier ruleContext,
IModelCollection models,
Map<String,IVariableDeclaration> globalVariables,
List<NRLError> errors)
Initialize a constraint visitor with a rule context classifier, the model, a map of global
variables and an error list to populate.
|
AntlrModelResolverVisitor(IClassifier ruleContext,
IModelCollection models,
Map<String,IVariableDeclaration> globalVariables,
List<Variable> contextVariables,
List<NRLError> errors) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IDataType
A data type is a model element that can hold a value.
|
interface |
IEnumerationLiteral
A specialised data type that represents all enumeration literals.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractClassifier
Abstract basic implementation of a classifier that manages attribute collections.
|
| Modifier and Type | Method and Description |
|---|---|
IClassifier |
IAttribute.getOwner()
Return the classifier that owns the attribute.
|
IClassifier |
AbstractAttribute.getOwner() |
| Modifier and Type | Method and Description |
|---|---|
static IAttribute |
ModelUtils.getAttributeByOriginalName(IClassifier container,
String originalName,
boolean includeInherited)
Finds an attribute within the given
IClassifier whose originalName matches
that specified. |
void |
AbstractAttribute.setOwner(IClassifier owner) |
| Modifier and Type | Class and Description |
|---|---|
class |
UML2Classifier
Extension of a standard model element that holds a reference to a UML2 class.
|
class |
UML2DataType
A data type that wraps a UML2 DataType object.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<org.eclipse.uml2.uml.Classifier,IClassifier> |
UML2Package.buildTypeMap() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
UML2Attribute.resolve(Map<org.eclipse.uml2.uml.Classifier,IClassifier> umlClassToModelElement)
Resolve the types of the attribute
|
protected void |
UML2DataType.resolve(Map<org.eclipse.uml2.uml.Classifier,IClassifier> umlClassToModelElement,
List<String> warnings)
Resolve the types of all attributes stored on this class.
|
protected void |
UML2Classifier.resolve(Map<org.eclipse.uml2.uml.Classifier,IClassifier> umlClassToModelElement,
List<String> warnings)
Resolve the types of all attributes stored on this class.
|
protected void |
UML2Package.resolveTypes(Map<org.eclipse.uml2.uml.Classifier,IClassifier> classifierToUML2Classifier,
List<String> warnings)
Resolve attribute and generalisation references, then discard the internal UML 2 model
references to save memory.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XSDClassifier
An XSD classifier, usually created from a complex type or element.
|
class |
XSDDataType
An XSD data type is either a simple type, a derived simple type, or a
complex type derived from a simple type (with optional added attributes).
|
| Modifier and Type | Method and Description |
|---|---|
static List<IAttribute> |
XSDModelUtils.getXsdAttributes(IClassifier container,
boolean includeInherited)
Return all attributes of the given
IClassifier that are tagged as having
been generated from an XSD attribute. |
static List<IAttribute> |
XSDModelUtils.getXsdElements(IClassifier container,
boolean includeInherited)
Return all attributes of the given
IClassifier that are tagged as having
been generated from an XSD element. |
Copyright © 2006-2013. All Rights Reserved.