|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.lpg.AbstractParser
org.eclipse.ocl.parser.AbstractOCLParser
public abstract class AbstractOCLParser
| Field Summary | |
|---|---|
protected java.util.Set<java.lang.String> |
iteratorNames
|
| Constructor Summary | |
|---|---|
AbstractOCLParser(AbstractLexer lexer)
|
|
AbstractOCLParser(BasicEnvironment environment)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Set<java.lang.String> iteratorNames
| Constructor Detail |
|---|
public AbstractOCLParser(BasicEnvironment environment)
public AbstractOCLParser(AbstractLexer lexer)
| Method Detail |
|---|
protected PackageDeclarationCS createPackageDeclarationCS(PathNameCS pathNameCS,
contextDecls)
protected PropertyContextCS createPropertyContextCS(PathNameCS pathNameCS,
SimpleNameCS simpleNameCS,
TypeCS typeCS,
constraints)
protected DerValueCS createDerValueCS(OCLExpressionCS oclExpressionCS)
protected InitValueCS createInitValueCS(OCLExpressionCS oclExpressionCS)
protected ClassifierContextDeclCS createClassifierContextDeclCS(SimpleNameCS simpleNameCS,
PathNameCS pathNameCS,
constraints)
pathNameCS - the concrete syntax of the classifier's qualified nameconstraints - the concrete syntax of the invariant and/or definition
constraints in the classifier context
protected InvCS createInvCS(SimpleNameCS simpleNameCS,
OCLExpressionCS oclExpressionCS)
simpleNameCS - the concrete syntax of the constraint name, or
null if noneoclExpressionCS - the concrete syntax of the constraint expression
protected DefCS createDefCS(boolean isStatic,
SimpleNameCS simpleNameCS,
DefExpressionCS defExpressionCS)
isStatic - true for a static constraintsimpleNameCS - the concrete syntax of the constraint nameoclExpressionCS - the concrete syntax of the constraint expression
protected DefExpressionCS createDefExpressionCS(VariableCS variableCS,
OperationCS operationCS,
OCLExpressionCS oclExpressionCS)
protected OperationContextDeclCS createOperationContextDeclCS(OperationCS operationCS,
prePostOrBodyDecls)
protected PrePostOrBodyDeclCS createPrePostOrBodyDeclCS(PrePostOrBodyEnum kind,
SimpleNameCS simpleNameCS,
OCLExpressionCS oclExpressionCS)
protected OperationCS createOperationCS(PathNameCS pathNameCS,
SimpleNameCS simpleNameCS,
list,
TypeCS typeCS)
protected OperationCS createOperationCS(IToken simpleName,
list,
TypeCS typeCS)
protected boolean isAtPre(IsMarkedPreCS atPreCS)
atPreCS - an "at pre" construct or null
true if the atPreCS is present;
false, otherwise
protected OperationCallExpCS createOperationCallExpCS(OCLExpressionCS oclExpressionCS,
SimpleNameCS simpleNameCS,
arguments)
protected OperationCallExpCS createArrowOperationCallExpCS(OCLExpressionCS oclExpressionCS,
SimpleNameCS simpleNameCS,
IsMarkedPreCS isMarkedPreCS,
arguments)
protected OperationCallExpCS createDotOperationCallExpCS(OCLExpressionCS oclExpressionCS,
PathNameCS pathNameCS,
SimpleNameCS simpleNameCS,
IsMarkedPreCS isMarkedPreCS,
arguments)
protected VariableExpCS createVariableExpCS(SimpleNameCS simpleNameCS,
arguments,
IsMarkedPreCS isMarkedPreCS)
protected SimpleNameCS createConceptualOperationNameCS(IToken token)
protected SimpleNameCS createSimpleNameCS(SimpleTypeEnum type,
IToken token)
protected SimpleNameCS createQuotedSimpleNameCS(SimpleTypeEnum type,
IToken token)
protected PrimitiveTypeCS createPrimitiveTypeCS(SimpleTypeEnum type,
java.lang.String value)
protected PathNameCS createPathNameCS(SimpleNameCS name)
protected PathNameCS extendPathNameCS(PathNameCS path,
SimpleNameCS name)
protected PathNameCS createPathNameCS()
protected PathNameCS createPathNamePrefixCS(PathNameCS pathNameCS)
protected SimpleNameCS getPathNameSuffixCS(PathNameCS pathNameCS)
protected CollectionLiteralExpCS createCollectionLiteralExpCS(CollectionTypeCS typeCS,
collectionLiteralParts)
protected CollectionLiteralPartCS createCollectionLiteralPartCS(OCLExpressionCS oclExpressionCS)
protected CollectionRangeCS createCollectionRangeCS(OCLExpressionCS oclExpressionCS,
OCLExpressionCS lastOCLExpressionCS)
protected TupleLiteralExpCS createTupleLiteralExpCS(variables)
protected IntegerLiteralExpCS createIntegerLiteralExpCS(java.lang.String string)
protected UnlimitedNaturalLiteralExpCS createUnlimitedNaturalLiteralExpCS(java.lang.String string)
protected RealLiteralExpCS createRealLiteralExpCS(java.lang.String string)
protected StringLiteralExpCS createStringLiteralExpCS(IToken token)
protected SimpleNameCS extendQuotedSimpleNameCS(SimpleNameCS simpleName,
IToken token)
protected StringLiteralExpCS extendStringLiteralExpCS(StringLiteralExpCS string,
IToken token)
protected BooleanLiteralExpCS createBooleanLiteralExpCS(java.lang.String string)
protected NullLiteralExpCS createNullLiteralExpCS(java.lang.String string)
protected InvalidLiteralExpCS createInvalidLiteralExpCS(java.lang.String string)
protected IteratorExpCS createIteratorExpCS(OCLExpressionCS source,
SimpleNameCS simpleNameCS,
VariableCS variable1,
VariableCS variable2,
OCLExpressionCS oclExpressionCS)
protected IterateExpCS createIterateExpCS(OCLExpressionCS source,
SimpleNameCS simpleNameCS,
VariableCS variable1,
VariableCS variable2,
OCLExpressionCS oclExpressionCS)
protected VariableCS createVariableCS(SimpleNameCS varName,
TypeCS typeCS,
OCLExpressionCS oclExpressionCS)
protected CollectionTypeCS createCollectionTypeCS(CollectionTypeIdentifierEnum collectionType,
java.lang.String value)
protected TupleTypeCS createTupleTypeCS(variables)
protected FeatureCallExpCS createFeatureCallExpCS(OCLExpressionCS source,
PathNameCS pathNameCS,
SimpleNameCS simpleNameCS,
arguments,
IsMarkedPreCS isMarkedPreCS)
protected IsMarkedPreCS createIsMarkedPreCS()
protected LetExpCS createLetExpCS(variables, OCLExpressionCS oclExpressionCS)
protected IfExpCS createIfExpCS(OCLExpressionCS condition,
OCLExpressionCS thenExpression,
OCLExpressionCS elseExpression)
protected MessageExpCS createMessageExpCS(OCLExpressionCS target,
boolean hasSent,
SimpleNameCS simpleNameCS,
oclMessageArgs)
protected OCLMessageArgCS createOCLMessageArgCS(TypeCS typeCS,
OCLExpressionCS oclExpressionCS)
protected OCLDocumentCS createOCLDocumentCS(PackageDeclarationCS packageDecl)
packageDecl - a chain of package context declarations
protected java.util.Set<java.lang.String> createIteratorNames()
protected boolean isIterator(java.lang.String name)
@Deprecated protected java.lang.String unescape(IToken stringLiteral)
Escaping support based on the QVT specification (8.4.3).
stringLiteral - a string literal token with escape notation
protected boolean isNonStdSQSupported()
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||