public abstract class AbstractOCLParser extends AbstractParser
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
iteratorNames |
| Constructor and Description |
|---|
AbstractOCLParser(AbstractLexer lexer) |
AbstractOCLParser(BasicEnvironment environment) |
computeInputString, decodeEscapeSequence, decodeHexCharacter, decodeOctalCharacter, decodeString, getDefaultRepairCount, getEnvironment, getIPrsStream, getLeftIToken, getLeftSpan, getLexer, getParseTable, getRhsErrorIToken, getRhsErrorTokenIndex, getRhsFirstIToken, getRhsFirstTokenIndex, getRhsIToken, getRhsLastIToken, getRhsLastTokenIndex, getRhsSym, getRhsTokenIndex, getRightIToken, getRightSpan, numTokenKinds, orderedTerminalSymbols, parser, parser, parser, parseTokensToCST, reset, resetLexStream, setDefaultRepairCount, setLexStream, setOffsets, setOffsets, setOffsets, setOffsets, setOffsets, setOffsets, setResult, unDoubleQuote, unquote, unSingleQuotepublic AbstractOCLParser(BasicEnvironment environment)
public AbstractOCLParser(AbstractLexer lexer)
protected PackageDeclarationCS createPackageDeclarationCS(PathNameCS pathNameCS, <any> contextDecls)
protected PropertyContextCS createPropertyContextCS(PathNameCS pathNameCS, SimpleNameCS simpleNameCS, TypeCS typeCS, <any> constraints)
protected DerValueCS createDerValueCS(OCLExpressionCS oclExpressionCS)
protected InitValueCS createInitValueCS(OCLExpressionCS oclExpressionCS)
protected ClassifierContextDeclCS createClassifierContextDeclCS(SimpleNameCS simpleNameCS, PathNameCS pathNameCS, <any> constraints)
pathNameCS - the concrete syntax of the classifier's qualified nameconstraints - the concrete syntax of the invariant and/or definition
constraints in the classifier contextprotected InvCS createInvCS(SimpleNameCS simpleNameCS, OCLExpressionCS oclExpressionCS)
simpleNameCS - the concrete syntax of the constraint name, or
null if noneoclExpressionCS - the concrete syntax of the constraint expressionprotected 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 expressionprotected DefExpressionCS createDefExpressionCS(VariableCS variableCS, OperationCS operationCS, OCLExpressionCS oclExpressionCS)
protected OperationContextDeclCS createOperationContextDeclCS(OperationCS operationCS, <any> prePostOrBodyDecls)
protected PrePostOrBodyDeclCS createPrePostOrBodyDeclCS(PrePostOrBodyEnum kind, SimpleNameCS simpleNameCS, OCLExpressionCS oclExpressionCS)
protected OperationCS createOperationCS(PathNameCS pathNameCS, SimpleNameCS simpleNameCS, <any> list, TypeCS typeCS)
protected OperationCS createOperationCS(IToken simpleName, <any> list, TypeCS typeCS)
protected boolean isAtPre(IsMarkedPreCS atPreCS)
atPreCS - an "at pre" construct or nulltrue if the atPreCS is present;
false, otherwiseprotected OperationCallExpCS createOperationCallExpCS(OCLExpressionCS oclExpressionCS, SimpleNameCS simpleNameCS, <any> arguments)
protected OperationCallExpCS createArrowOperationCallExpCS(OCLExpressionCS oclExpressionCS, SimpleNameCS simpleNameCS, IsMarkedPreCS isMarkedPreCS, <any> arguments)
protected OperationCallExpCS createDotOperationCallExpCS(OCLExpressionCS oclExpressionCS, PathNameCS pathNameCS, SimpleNameCS simpleNameCS, IsMarkedPreCS isMarkedPreCS, <any> arguments)
protected VariableExpCS createVariableExpCS(SimpleNameCS simpleNameCS, <any> 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, 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, <any> collectionLiteralParts)
protected CollectionLiteralPartCS createCollectionLiteralPartCS(OCLExpressionCS oclExpressionCS)
protected CollectionRangeCS createCollectionRangeCS(OCLExpressionCS oclExpressionCS, OCLExpressionCS lastOCLExpressionCS)
protected TupleLiteralExpCS createTupleLiteralExpCS(<any> variables)
protected IntegerLiteralExpCS createIntegerLiteralExpCS(String string)
protected UnlimitedNaturalLiteralExpCS createUnlimitedNaturalLiteralExpCS(String string)
protected RealLiteralExpCS createRealLiteralExpCS(String string)
protected StringLiteralExpCS createStringLiteralExpCS(IToken token)
protected SimpleNameCS extendQuotedSimpleNameCS(SimpleNameCS simpleName, IToken token)
protected StringLiteralExpCS extendStringLiteralExpCS(StringLiteralExpCS string, IToken token)
protected BooleanLiteralExpCS createBooleanLiteralExpCS(String string)
protected NullLiteralExpCS createNullLiteralExpCS(String string)
protected InvalidLiteralExpCS createInvalidLiteralExpCS(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, String value)
protected TupleTypeCS createTupleTypeCS(<any> variables)
protected FeatureCallExpCS createFeatureCallExpCS(OCLExpressionCS source, PathNameCS pathNameCS, SimpleNameCS simpleNameCS, <any> arguments, IsMarkedPreCS isMarkedPreCS)
protected IsMarkedPreCS createIsMarkedPreCS()
protected LetExpCS createLetExpCS(<any> variables, OCLExpressionCS oclExpressionCS)
protected IfExpCS createIfExpCS(OCLExpressionCS condition, OCLExpressionCS thenExpression, OCLExpressionCS elseExpression)
protected MessageExpCS createMessageExpCS(OCLExpressionCS target, boolean hasSent, SimpleNameCS simpleNameCS, <any> oclMessageArgs)
protected OCLMessageArgCS createOCLMessageArgCS(TypeCS typeCS, OCLExpressionCS oclExpressionCS)
protected OCLDocumentCS createOCLDocumentCS(PackageDeclarationCS packageDecl)
packageDecl - a chain of package context declarationsprotected boolean isIterator(String name)
@Deprecated protected String unescape(IToken stringLiteral)
Escaping support based on the QVT specification (8.4.3).
stringLiteral - a string literal token with escape notationprotected boolean isNonStdSQSupported()
Copyright © 2015 Open eHealth Foundation. All rights reserved.