org.eclipse.ocl.parser.backtracking.OCLParserErrors Maven / Gradle / Ivy
/**
*
*
* Copyright (c) 2008, 2009 Eclipse.org, Zeligsoft Inc., 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:
* E.D.Willink - Initial API and implementation
* Zeligsoft - Bug 259818 (add doc comment)
*
*
*
* $Id: OCLParserErrors.java,v 1.1 2009/01/13 20:31:30 cdamus Exp $
*/
package org.eclipse.ocl.parser.backtracking;
/**
* An enumeration of error tokens to fill in gaps in the concrete syntax.
*
* @since 1.3
*/
public class OCLParserErrors {
public static final String EXTRA_TOKENS = "\"\""; //$NON-NLS-1$
public static final String MISSING_AT_PRE = "\"@pre\" or \"(\""; //$NON-NLS-1$
public static final String MISSING_COLON = "\":\""; //$NON-NLS-1$
public static final String MISSING_CONTEXT = "\"context\""; //$NON-NLS-1$
public static final String MISSING_ELSE_ENDIF = "\"else endif\""; //$NON-NLS-1$
public static final String MISSING_ENDIF = "\"endif\""; //$NON-NLS-1$
public static final String MISSING_ENDPACKAGE = "\"endpackage\""; //$NON-NLS-1$
public static final String MISSING_EQUALS = "\"=\""; //$NON-NLS-1$
public static final String MISSING_EXPR = "\"\""; //$NON-NLS-1$
public static final String MISSING_IDENTIFIER = "\"\""; //$NON-NLS-1$
public static final String MISSING_INV_OR_DEF = "\"inv\" or \"def\""; //$NON-NLS-1$
public static final String MISSING_LBRACE = "\"{\""; //$NON-NLS-1$
public static final String MISSING_LPAREN = "\"(\""; //$NON-NLS-1$
public static final String MISSING_MESSAGE_ARGUMENTS = "\"( )\""; //$NON-NLS-1$
public static final String MISSING_PARAMETER = "\"\""; //$NON-NLS-1$
public static final String MISSING_PARAMETERS = "\"\""; //$NON-NLS-1$
public static final String MISSING_PATH_NAME = "\"\""; //$NON-NLS-1$
public static final String MISSING_RBRACK = "\"]\""; //$NON-NLS-1$
public static final String MISSING_RPAREN = "\")\""; //$NON-NLS-1$
public static final String MISSING_SIMPLE_NAME = "\"\""; //$NON-NLS-1$
public static final String MISSING_SIMPLE_NAME_OPT = "\"\" or \"\""; //$NON-NLS-1$
public static final String MISSING_THEN_ELSE = "\"then else \""; //$NON-NLS-1$
public static final String MISSING_THEN_ELSE_ENDIF = "\"then else endif\""; //$NON-NLS-1$
public static final String MISSING_VARIABLE_TYPE = "\": \""; //$NON-NLS-1$
public static final String MISSING_VARIABLES = "\"\""; //$NON-NLS-1$
}