com.atlassian.jira.jql.parser
Class JqlParseErrorMessages

java.lang.Object
  extended by com.atlassian.jira.jql.parser.JqlParseErrorMessages

public class JqlParseErrorMessages
extends Object

Factory for JqlParseErrorMessage objects.

Since:
v4.0

Method Summary
static JqlParseErrorMessage badCustomFieldId(org.antlr.runtime.Token token)
           
static JqlParseErrorMessage badFieldName(org.antlr.runtime.Token token)
           
static JqlParseErrorMessage badFunctionArgument(org.antlr.runtime.Token token)
           
static JqlParseErrorMessage badOperand(org.antlr.runtime.Token token)
           
static JqlParseErrorMessage badOperator(org.antlr.runtime.Token token)
           
static JqlParseErrorMessage badSortOrder(org.antlr.runtime.Token token)
           
protected  Object clone()
           
static JqlParseErrorMessage emptyFieldName(int antlrLine, int antlrColumn)
           
static JqlParseErrorMessage emptyFunctionArgument(org.antlr.runtime.Token token)
           
static JqlParseErrorMessage emptyFunctionName(int antlrLine, int antlrColumn)
           
static JqlParseErrorMessage expectedText(org.antlr.runtime.Token token, String expected)
           
static JqlParseErrorMessage expectedText(org.antlr.runtime.Token token, String expected1, String expected2)
           
static JqlParseErrorMessage genericParseError()
           
static JqlParseErrorMessage genericParseError(int antlrLine, int antlrColumn)
           
static JqlParseErrorMessage genericParseError(org.antlr.runtime.Token token)
           
static JqlParseErrorMessage illegalCharacter(char currentChar, int antlrLine, int antlrColumn)
           
static JqlParseErrorMessage illegalEsacpe(String illegalEscape, int antlrLine, int antlrColumn)
           
static JqlParseErrorMessage illegalNumber(String number, int antlrLine, int antlrColumn)
           
static JqlParseErrorMessage needLogicalOperator(org.antlr.runtime.Token token)
           
static JqlParseErrorMessage reservedCharacter(char currentChar, int antlrLine, int antlrColumn)
           
static JqlParseErrorMessage reservedWord(String reservedWord, int antlrLine, int antlrColumn)
           
static JqlParseErrorMessage unfinishedString(String currentString, int antlrLine, int antlrColumn)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clone

protected Object clone()
                throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

reservedWord

public static JqlParseErrorMessage reservedWord(String reservedWord,
                                                int antlrLine,
                                                int antlrColumn)

illegalEsacpe

public static JqlParseErrorMessage illegalEsacpe(String illegalEscape,
                                                 int antlrLine,
                                                 int antlrColumn)

unfinishedString

public static JqlParseErrorMessage unfinishedString(String currentString,
                                                    int antlrLine,
                                                    int antlrColumn)

illegalCharacter

public static JqlParseErrorMessage illegalCharacter(char currentChar,
                                                    int antlrLine,
                                                    int antlrColumn)

reservedCharacter

public static JqlParseErrorMessage reservedCharacter(char currentChar,
                                                     int antlrLine,
                                                     int antlrColumn)

genericParseError

public static JqlParseErrorMessage genericParseError()

genericParseError

public static JqlParseErrorMessage genericParseError(int antlrLine,
                                                     int antlrColumn)

genericParseError

public static JqlParseErrorMessage genericParseError(org.antlr.runtime.Token token)

illegalNumber

public static JqlParseErrorMessage illegalNumber(String number,
                                                 int antlrLine,
                                                 int antlrColumn)

emptyFieldName

public static JqlParseErrorMessage emptyFieldName(int antlrLine,
                                                  int antlrColumn)

emptyFunctionName

public static JqlParseErrorMessage emptyFunctionName(int antlrLine,
                                                     int antlrColumn)

badFieldName

public static JqlParseErrorMessage badFieldName(org.antlr.runtime.Token token)

badSortOrder

public static JqlParseErrorMessage badSortOrder(org.antlr.runtime.Token token)

badOperator

public static JqlParseErrorMessage badOperator(org.antlr.runtime.Token token)

badCustomFieldId

public static JqlParseErrorMessage badCustomFieldId(org.antlr.runtime.Token token)

badFunctionArgument

public static JqlParseErrorMessage badFunctionArgument(org.antlr.runtime.Token token)

needLogicalOperator

public static JqlParseErrorMessage needLogicalOperator(org.antlr.runtime.Token token)

badOperand

public static JqlParseErrorMessage badOperand(org.antlr.runtime.Token token)

emptyFunctionArgument

public static JqlParseErrorMessage emptyFunctionArgument(org.antlr.runtime.Token token)

expectedText

public static JqlParseErrorMessage expectedText(org.antlr.runtime.Token token,
                                                String expected)

expectedText

public static JqlParseErrorMessage expectedText(org.antlr.runtime.Token token,
                                                String expected1,
                                                String expected2)


Copyright © 2002-2009 Atlassian. All Rights Reserved.