/** * Essential OCL Grammar * <copyright> * * Copyright (c) 2005, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM - Initial API and implementation * E.D.Willink - Elimination of some shift-reduce conflicts * E.D.Willink - Remove unnecessary warning suppression * E.D.Willink - Bugs 184048, 225493, 243976, 259818, 282882, 287993, 288040, 292112, 295166 * Borland - Bug 242880 * Adolfo Sanchez-Barbudo Herrera (Open Canarias): * - 242153: LPG v 2.0.17 adoption. * - 299396: Introducing new LPG templates * - 300534: Removing the use of deprecated macros. * </copyright> * * $Id: EssentialOCL.gi,v 1.5 2010/02/11 15:40:41 sboyko Exp $ */ /** * <copyright> * * Copyright (c) 2006, 2013 Borland Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Borland - Initial API and implementation * Adolfo Sanchez-Barbudo Herrera (Open Canarias) - LPG v 2.0.17 adoption (297966) * Alex Paperno - bugs 314443, 274105, 274505, 419299 * * </copyright> * */ /** * <copyright> * * Copyright (c) 2006, 2013 Borland Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Borland - Initial API and implementation * Adolfo Sanchez-Barbudo Herrera (Open Canarias) - LPG v 2.0.17 adoption (297966) * Alex Paperno - bugs 392429, 419299 * * </copyright> * */ package org.eclipse.m2m.internal.qvt.oml.cst.parser; public interface QVTOParsersym { public final static int TK_QUOTED_IDENTIFIER = 6, TK_INTEGER_LITERAL = 27, TK_REAL_LITERAL = 28, TK_STRING_LITERAL = 24, TK_PLUS = 71, TK_MINUS = 9, TK_MULTIPLY = 4, TK_DIVIDE = 72, TK_GREATER = 76, TK_LESS = 77, TK_EQUAL = 69, TK_GREATER_EQUAL = 78, TK_LESS_EQUAL = 79, TK_NOT_EQUAL = 81, TK_LPAREN = 1, TK_RPAREN = 5, TK_LBRACE = 67, TK_RBRACE = 75, TK_LBRACKET = 63, TK_RBRACKET = 114, TK_ARROW = 64, TK_BAR = 82, TK_COMMA = 68, TK_COLON = 73, TK_COLONCOLON = 80, TK_SEMICOLON = 66, TK_DOT = 54, TK_DOTDOT = 115, TK_RESET_ASSIGN = 70, TK_ADD_ASSIGN = 74, TK_EXCLAMATION_MARK = 65, TK_COLONCOLONEQUAL = 116, TK_QUESTIONMARK = 117, TK_SINGLE_LINE_COMMENT = 153, TK_MULTI_LINE_COMMENT = 154, TK_STEREOTYPE_QUALIFIER_OPEN = 118, TK_STEREOTYPE_QUALIFIER_CLOSE = 127, TK_MULTIPLICITY_RANGE = 128, TK_TILDE_SIGN = 129, TK_NOT_EQUAL_EXEQ = 90, TK_AT_SIGN = 130, TK_self = 36, TK_if = 40, TK_then = 119, TK_else = 83, TK_endif = 84, TK_and = 85, TK_or = 86, TK_xor = 88, TK_not = 37, TK_implies = 91, TK_let = 41, TK_in = 94, TK_true = 29, TK_false = 30, TK_null = 31, TK_invalid = 32, TK_Set = 10, TK_Bag = 11, TK_Sequence = 12, TK_Collection = 13, TK_OrderedSet = 14, TK_String = 15, TK_Integer = 16, TK_UnlimitedNatural = 17, TK_Real = 18, TK_Boolean = 19, TK_Tuple = 20, TK_OclAny = 21, TK_OclVoid = 22, TK_OclInvalid = 23, TK_Dict = 25, TK_List = 26, TK_break = 42, TK_switch = 38, TK_case = 120, TK_xselect = 131, TK_xcollect = 132, TK_selectOne = 133, TK_collectOne = 134, TK_collectselect = 135, TK_collectselectOne = 136, TK_forEach = 137, TK_forOne = 138, TK_compute = 43, TK_return = 51, TK_var = 52, TK_while = 44, TK_continue = 45, TK_log = 50, TK_assert = 53, TK_with = 139, TK_new = 46, TK_static = 95, TK_init = 140, TK_end = 96, TK_out = 105, TK_object = 39, TK_transformation = 107, TK_import = 141, TK_library = 108, TK_metamodel = 155, TK_mapping = 97, TK_query = 98, TK_helper = 99, TK_inout = 106, TK_when = 109, TK_configuration = 110, TK_intermediate = 111, TK_property = 100, TK_opposites = 142, TK_class = 143, TK_population = 121, TK_map = 33, TK_xmap = 34, TK_late = 35, TK_resolve = 55, TK_resolveone = 56, TK_resolveIn = 57, TK_resolveoneIn = 58, TK_invresolve = 59, TK_invresolveone = 60, TK_invresolveIn = 61, TK_invresolveoneIn = 62, TK_modeltype = 144, TK_uses = 145, TK_where = 112, TK_refines = 146, TK_access = 92, TK_extends = 89, TK_blackbox = 101, TK_abstract = 102, TK_result = 7, TK_main = 93, TK_this = 8, TK_rename = 147, TK_disjuncts = 122, TK_merges = 123, TK_inherits = 124, TK_composes = 148, TK_constructor = 103, TK_datatype = 156, TK_default = 157, TK_derived = 149, TK_do = 47, TK_elif = 87, TK_enum = 158, TK_except = 125, TK_exception = 113, TK_from = 159, TK_literal = 160, TK_ordered = 150, TK_primitive = 161, TK_raise = 48, TK_readonly = 151, TK_references = 152, TK_tag = 104, TK_try = 49, TK_typedef = 162, TK_unlimited = 163, TK_EOF_TOKEN = 126, TK_IDENTIFIER = 3, TK_ERROR_TOKEN = 2; public final static String orderedTerminalSymbols[] = { "", //$NON-NLS-1$ "LPAREN", //$NON-NLS-1$ "ERROR_TOKEN", //$NON-NLS-1$ "IDENTIFIER", //$NON-NLS-1$ "MULTIPLY", //$NON-NLS-1$ "RPAREN", //$NON-NLS-1$ "QUOTED_IDENTIFIER", //$NON-NLS-1$ "result", //$NON-NLS-1$ "this", //$NON-NLS-1$ "MINUS", //$NON-NLS-1$ "Set", //$NON-NLS-1$ "Bag", //$NON-NLS-1$ "Sequence", //$NON-NLS-1$ "Collection", //$NON-NLS-1$ "OrderedSet", //$NON-NLS-1$ "String", //$NON-NLS-1$ "Integer", //$NON-NLS-1$ "UnlimitedNatural", //$NON-NLS-1$ "Real", //$NON-NLS-1$ "Boolean", //$NON-NLS-1$ "Tuple", //$NON-NLS-1$ "OclAny", //$NON-NLS-1$ "OclVoid", //$NON-NLS-1$ "OclInvalid", //$NON-NLS-1$ "STRING_LITERAL", //$NON-NLS-1$ "Dict", //$NON-NLS-1$ "List", //$NON-NLS-1$ "INTEGER_LITERAL", //$NON-NLS-1$ "REAL_LITERAL", //$NON-NLS-1$ "true", //$NON-NLS-1$ "false", //$NON-NLS-1$ "null", //$NON-NLS-1$ "invalid", //$NON-NLS-1$ "map", //$NON-NLS-1$ "xmap", //$NON-NLS-1$ "late", //$NON-NLS-1$ "self", //$NON-NLS-1$ "not", //$NON-NLS-1$ "switch", //$NON-NLS-1$ "object", //$NON-NLS-1$ "if", //$NON-NLS-1$ "let", //$NON-NLS-1$ "break", //$NON-NLS-1$ "compute", //$NON-NLS-1$ "while", //$NON-NLS-1$ "continue", //$NON-NLS-1$ "new", //$NON-NLS-1$ "do", //$NON-NLS-1$ "raise", //$NON-NLS-1$ "try", //$NON-NLS-1$ "log", //$NON-NLS-1$ "return", //$NON-NLS-1$ "var", //$NON-NLS-1$ "assert", //$NON-NLS-1$ "DOT", //$NON-NLS-1$ "resolve", //$NON-NLS-1$ "resolveone", //$NON-NLS-1$ "resolveIn", //$NON-NLS-1$ "resolveoneIn", //$NON-NLS-1$ "invresolve", //$NON-NLS-1$ "invresolveone", //$NON-NLS-1$ "invresolveIn", //$NON-NLS-1$ "invresolveoneIn", //$NON-NLS-1$ "LBRACKET", //$NON-NLS-1$ "ARROW", //$NON-NLS-1$ "EXCLAMATION_MARK", //$NON-NLS-1$ "SEMICOLON", //$NON-NLS-1$ "LBRACE", //$NON-NLS-1$ "COMMA", //$NON-NLS-1$ "EQUAL", //$NON-NLS-1$ "RESET_ASSIGN", //$NON-NLS-1$ "PLUS", //$NON-NLS-1$ "DIVIDE", //$NON-NLS-1$ "COLON", //$NON-NLS-1$ "ADD_ASSIGN", //$NON-NLS-1$ "RBRACE", //$NON-NLS-1$ "GREATER", //$NON-NLS-1$ "LESS", //$NON-NLS-1$ "GREATER_EQUAL", //$NON-NLS-1$ "LESS_EQUAL", //$NON-NLS-1$ "COLONCOLON", //$NON-NLS-1$ "NOT_EQUAL", //$NON-NLS-1$ "BAR", //$NON-NLS-1$ "else", //$NON-NLS-1$ "endif", //$NON-NLS-1$ "and", //$NON-NLS-1$ "or", //$NON-NLS-1$ "elif", //$NON-NLS-1$ "xor", //$NON-NLS-1$ "extends", //$NON-NLS-1$ "NOT_EQUAL_EXEQ", //$NON-NLS-1$ "implies", //$NON-NLS-1$ "access", //$NON-NLS-1$ "main", //$NON-NLS-1$ "in", //$NON-NLS-1$ "static", //$NON-NLS-1$ "end", //$NON-NLS-1$ "mapping", //$NON-NLS-1$ "query", //$NON-NLS-1$ "helper", //$NON-NLS-1$ "property", //$NON-NLS-1$ "blackbox", //$NON-NLS-1$ "abstract", //$NON-NLS-1$ "constructor", //$NON-NLS-1$ "tag", //$NON-NLS-1$ "out", //$NON-NLS-1$ "inout", //$NON-NLS-1$ "transformation", //$NON-NLS-1$ "library", //$NON-NLS-1$ "when", //$NON-NLS-1$ "configuration", //$NON-NLS-1$ "intermediate", //$NON-NLS-1$ "where", //$NON-NLS-1$ "exception", //$NON-NLS-1$ "RBRACKET", //$NON-NLS-1$ "DOTDOT", //$NON-NLS-1$ "COLONCOLONEQUAL", //$NON-NLS-1$ "QUESTIONMARK", //$NON-NLS-1$ "STEREOTYPE_QUALIFIER_OPEN", //$NON-NLS-1$ "then", //$NON-NLS-1$ "case", //$NON-NLS-1$ "population", //$NON-NLS-1$ "disjuncts", //$NON-NLS-1$ "merges", //$NON-NLS-1$ "inherits", //$NON-NLS-1$ "except", //$NON-NLS-1$ "EOF_TOKEN", //$NON-NLS-1$ "STEREOTYPE_QUALIFIER_CLOSE", //$NON-NLS-1$ "MULTIPLICITY_RANGE", //$NON-NLS-1$ "TILDE_SIGN", //$NON-NLS-1$ "AT_SIGN", //$NON-NLS-1$ "xselect", //$NON-NLS-1$ "xcollect", //$NON-NLS-1$ "selectOne", //$NON-NLS-1$ "collectOne", //$NON-NLS-1$ "collectselect", //$NON-NLS-1$ "collectselectOne", //$NON-NLS-1$ "forEach", //$NON-NLS-1$ "forOne", //$NON-NLS-1$ "with", //$NON-NLS-1$ "init", //$NON-NLS-1$ "import", //$NON-NLS-1$ "opposites", //$NON-NLS-1$ "class", //$NON-NLS-1$ "modeltype", //$NON-NLS-1$ "uses", //$NON-NLS-1$ "refines", //$NON-NLS-1$ "rename", //$NON-NLS-1$ "composes", //$NON-NLS-1$ "derived", //$NON-NLS-1$ "ordered", //$NON-NLS-1$ "readonly", //$NON-NLS-1$ "references", //$NON-NLS-1$ "SINGLE_LINE_COMMENT", //$NON-NLS-1$ "MULTI_LINE_COMMENT", //$NON-NLS-1$ "metamodel", //$NON-NLS-1$ "datatype", //$NON-NLS-1$ "default", //$NON-NLS-1$ "enum", //$NON-NLS-1$ "from", //$NON-NLS-1$ "literal", //$NON-NLS-1$ "primitive", //$NON-NLS-1$ "typedef", //$NON-NLS-1$ "unlimited" //$NON-NLS-1$ }; public final static int numTokenKinds = orderedTerminalSymbols.length; public final static boolean isValidForParser = true; }