org.apache.hadoop.hbase.hbql.parser
Class ParserSupport

java.lang.Object
  extended by org.antlr.runtime.BaseRecognizer
      extended by org.antlr.runtime.Parser
          extended by org.apache.hadoop.hbase.hbql.parser.ParserSupport

public class ParserSupport
extends org.antlr.runtime.Parser


Field Summary
static boolean attemptRecovery
           
static String EMBEDDED
           
 
Fields inherited from class org.antlr.runtime.Parser
input
 
Fields inherited from class org.antlr.runtime.BaseRecognizer
DEFAULT_TOKEN_CHANNEL, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, MEMO_RULE_FAILED, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME, state
 
Constructor Summary
ParserSupport(org.antlr.runtime.TokenStream input)
           
ParserSupport(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)
           
 
Method Summary
static String decodeEscapedChar(String str)
           
 GenericValue getLeftAssociativeBooleanCompare(List<GenericValue> exprList, List<Operator> opList)
           
 GenericValue getLeftAssociativeCalculation(List<GenericValue> exprList, List<Operator> opList)
           
protected  void handleRecognitionException(org.antlr.runtime.RecognitionException re)
           
protected  boolean isKeyword(org.antlr.runtime.TokenStream input, String str)
           
protected  void mismatch(org.antlr.runtime.IntStream input, int ttype, antlr.collections.impl.BitSet follow)
           
static TableMapping newTableMapping(org.antlr.runtime.TokenStream input, List<ColumnDefinition> columnList)
           
 Object recoverFromMismatchedSet(org.antlr.runtime.IntStream input, org.antlr.runtime.RecognitionException e, antlr.collections.impl.BitSet follow)
           
 
Methods inherited from class org.antlr.runtime.Parser
getCurrentInputSymbol, getMissingSymbol, getSourceName, getTokenStream, reset, setTokenStream, traceIn, traceOut
 
Methods inherited from class org.antlr.runtime.BaseRecognizer
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, emitErrorMessage, endResync, failed, getBacktrackingLevel, getErrorHeader, getErrorMessage, getGrammarFileName, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, getTokenNames, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, reportError, setBacktrackingLevel, toStrings, traceIn, traceOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attemptRecovery

public static final boolean attemptRecovery
See Also:
Constant Field Values

EMBEDDED

public static final String EMBEDDED
See Also:
Constant Field Values
Constructor Detail

ParserSupport

public ParserSupport(org.antlr.runtime.TokenStream input)

ParserSupport

public ParserSupport(org.antlr.runtime.TokenStream input,
                     org.antlr.runtime.RecognizerSharedState state)
Method Detail

isKeyword

protected boolean isKeyword(org.antlr.runtime.TokenStream input,
                            String str)

handleRecognitionException

protected void handleRecognitionException(org.antlr.runtime.RecognitionException re)
                                   throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

mismatch

protected void mismatch(org.antlr.runtime.IntStream input,
                        int ttype,
                        antlr.collections.impl.BitSet follow)
                 throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

recoverFromMismatchedSet

public Object recoverFromMismatchedSet(org.antlr.runtime.IntStream input,
                                       org.antlr.runtime.RecognitionException e,
                                       antlr.collections.impl.BitSet follow)
                                throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

getLeftAssociativeCalculation

public GenericValue getLeftAssociativeCalculation(List<GenericValue> exprList,
                                                  List<Operator> opList)

getLeftAssociativeBooleanCompare

public GenericValue getLeftAssociativeBooleanCompare(List<GenericValue> exprList,
                                                     List<Operator> opList)

newTableMapping

public static TableMapping newTableMapping(org.antlr.runtime.TokenStream input,
                                           List<ColumnDefinition> columnList)
                                    throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

decodeEscapedChar

public static String decodeEscapedChar(String str)


Copyright © 2011. All Rights Reserved.