cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject svn commit: r1152233 [2/9] - in /cassandra/trunk: conf/ src/gen-java/ src/gen-java/org/ src/gen-java/org/apache/ src/gen-java/org/apache/cassandra/ src/gen-java/org/apache/cassandra/cli/ src/gen-java/org/apache/cassandra/cql/ src/java/org/apache/cassan...
Date Fri, 29 Jul 2011 14:21:09 GMT
Added: cassandra/trunk/src/gen-java/org/apache/cassandra/cli/CliLexer.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/gen-java/org/apache/cassandra/cli/CliLexer.java?rev=1152233&view=auto
==============================================================================
--- cassandra/trunk/src/gen-java/org/apache/cassandra/cli/CliLexer.java (added)
+++ cassandra/trunk/src/gen-java/org/apache/cassandra/cli/CliLexer.java Fri Jul 29 14:21:06 2011
@@ -0,0 +1,3057 @@
+// $ANTLR 3.2 Sep 23, 2009 12:02:23 /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g 2011-07-28 15:11:03
+
+package org.apache.cassandra.cli;
+
+
+import org.antlr.runtime.*;
+import java.util.Stack;
+import java.util.List;
+import java.util.ArrayList;
+
+public class CliLexer extends Lexer {
+    public static final int NODE_THRIFT_GET_WITH_CONDITIONS=15;
+    public static final int TTL=76;
+    public static final int NODE_SHOW_KEYSPACES=13;
+    public static final int CONDITION=38;
+    public static final int COUNT=67;
+    public static final int DecimalDigit=97;
+    public static final int EOF=-1;
+    public static final int Identifier=73;
+    public static final int NODE_UPDATE_COLUMN_FAMILY=26;
+    public static final int SingleStringCharacter=89;
+    public static final int NODE_USE_TABLE=7;
+    public static final int NODE_DEL_KEYSPACE=23;
+    public static final int CREATE=56;
+    public static final int NODE_CONNECT=4;
+    public static final int CONNECT=46;
+    public static final int INCR=64;
+    public static final int SingleEscapeCharacter=94;
+    public static final int FAMILY=59;
+    public static final int GET=62;
+    public static final int NODE_DESCRIBE_TABLE=5;
+    public static final int COMMENT=100;
+    public static final int SHOW=53;
+    public static final int ARRAY=40;
+    public static final int NODE_ADD_KEYSPACE=22;
+    public static final int EXIT=51;
+    public static final int NODE_THRIFT_DEL=18;
+    public static final int IntegerNegativeLiteral=80;
+    public static final int ON=78;
+    public static final int SEMICOLON=45;
+    public static final int NODE_DROP_INDEX=31;
+    public static final int KEYSPACES=54;
+    public static final int CONDITIONS=39;
+    public static final int LIST=68;
+    public static final int NODE_LIMIT=43;
+    public static final int FILE=84;
+    public static final int NODE_DESCRIBE_CLUSTER=6;
+    public static final int IP_ADDRESS=82;
+    public static final int NODE_NO_OP=10;
+    public static final int NODE_THRIFT_SET=16;
+    public static final int NODE_ID_LIST=33;
+    public static final int WS=99;
+    public static final int ASSUME=70;
+    public static final int NODE_THRIFT_COUNT=17;
+    public static final int DESCRIBE=49;
+    public static final int Alnum=88;
+    public static final int CharacterEscapeSequence=91;
+    public static final int NODE_SHOW_CLUSTER_NAME=11;
+    public static final int USE=48;
+    public static final int NODE_THRIFT_DECR=20;
+    public static final int FUNCTION_CALL=37;
+    public static final int EscapeSequence=90;
+    public static final int Letter=86;
+    public static final int DoubleLiteral=81;
+    public static final int HELP=47;
+    public static final int HexEscapeSequence=92;
+    public static final int NODE_EXIT=8;
+    public static final int LIMIT=85;
+    public static final int T__118=118;
+    public static final int T__119=119;
+    public static final int DEL=66;
+    public static final int T__116=116;
+    public static final int T__117=117;
+    public static final int T__114=114;
+    public static final int T__115=115;
+    public static final int NODE_LIST=27;
+    public static final int UPDATE=57;
+    public static final int NODE_UPDATE_KEYSPACE=25;
+    public static final int T__120=120;
+    public static final int AND=79;
+    public static final int NODE_NEW_CF_ACCESS=34;
+    public static final int CONSISTENCYLEVEL=71;
+    public static final int HexDigit=98;
+    public static final int QUIT=52;
+    public static final int NODE_TRUNCATE=28;
+    public static final int INDEX=61;
+    public static final int NODE_SHOW_VERSION=12;
+    public static final int T__107=107;
+    public static final int T__108=108;
+    public static final int NODE_NEW_KEYSPACE_ACCESS=35;
+    public static final int T__109=109;
+    public static final int T__103=103;
+    public static final int T__104=104;
+    public static final int TRUNCATE=69;
+    public static final int T__105=105;
+    public static final int T__106=106;
+    public static final int COLUMN=58;
+    public static final int T__111=111;
+    public static final int T__110=110;
+    public static final int T__113=113;
+    public static final int T__112=112;
+    public static final int EscapeCharacter=96;
+    public static final int PAIR=42;
+    public static final int NODE_CONSISTENCY_LEVEL=30;
+    public static final int WITH=75;
+    public static final int BY=77;
+    public static final int UnicodeEscapeSequence=93;
+    public static final int HASH=41;
+    public static final int SET=63;
+    public static final int T__102=102;
+    public static final int T__101=101;
+    public static final int API_VERSION=55;
+    public static final int Digit=87;
+    public static final int NODE_ASSUME=29;
+    public static final int CONVERT_TO_TYPE=36;
+    public static final int NODE_THRIFT_GET=14;
+    public static final int KEYSPACE=50;
+    public static final int NODE_KEY_RANGE=44;
+    public static final int NODE_DEL_COLUMN_FAMILY=24;
+    public static final int StringLiteral=74;
+    public static final int NODE_HELP=9;
+    public static final int IntegerPositiveLiteral=72;
+    public static final int CONFIG=83;
+    public static final int DROP=60;
+    public static final int NonEscapeCharacter=95;
+    public static final int DECR=65;
+    public static final int NODE_ADD_COLUMN_FAMILY=21;
+    public static final int NODE_THRIFT_INCR=19;
+    public static final int NODE_COLUMN_ACCESS=32;
+
+        public void reportError(RecognitionException e) 
+        {
+            StringBuilder errorMessage = new StringBuilder("Syntax error at position " + e.charPositionInLine + ": ");
+
+            if (e instanceof NoViableAltException)
+            {
+                int index = e.charPositionInLine;
+                String error = this.input.substring(index, index);
+                String statement = this.input.substring(0, this.input.size() - 1);
+
+                errorMessage.append("unexpected \"" + error + "\" for `" + statement + "`.");
+            }
+            else
+            {
+                errorMessage.append(this.getErrorMessage(e, this.getTokenNames()));
+            }
+
+            throw new RuntimeException(errorMessage.toString());
+        }
+
+
+    // delegates
+    // delegators
+
+    public CliLexer() {;} 
+    public CliLexer(CharStream input) {
+        this(input, new RecognizerSharedState());
+    }
+    public CliLexer(CharStream input, RecognizerSharedState state) {
+        super(input,state);
+
+    }
+    public String getGrammarFileName() { return "/home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g"; }
+
+    // $ANTLR start "T__101"
+    public final void mT__101() throws RecognitionException {
+        try {
+            int _type = T__101;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:28:8: ( '/' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:28:10: '/'
+            {
+            match('/'); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__101"
+
+    // $ANTLR start "T__102"
+    public final void mT__102() throws RecognitionException {
+        try {
+            int _type = T__102;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:29:8: ( 'CLUSTER' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:29:10: 'CLUSTER'
+            {
+            match("CLUSTER"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__102"
+
+    // $ANTLR start "T__103"
+    public final void mT__103() throws RecognitionException {
+        try {
+            int _type = T__103;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:30:8: ( 'CLUSTER NAME' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:30:10: 'CLUSTER NAME'
+            {
+            match("CLUSTER NAME"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__103"
+
+    // $ANTLR start "T__104"
+    public final void mT__104() throws RecognitionException {
+        try {
+            int _type = T__104;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:31:8: ( '?' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:31:10: '?'
+            {
+            match('?'); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__104"
+
+    // $ANTLR start "T__105"
+    public final void mT__105() throws RecognitionException {
+        try {
+            int _type = T__105;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:32:8: ( 'AS' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:32:10: 'AS'
+            {
+            match("AS"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__105"
+
+    // $ANTLR start "T__106"
+    public final void mT__106() throws RecognitionException {
+        try {
+            int _type = T__106;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:33:8: ( 'WHERE' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:33:10: 'WHERE'
+            {
+            match("WHERE"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__106"
+
+    // $ANTLR start "T__107"
+    public final void mT__107() throws RecognitionException {
+        try {
+            int _type = T__107;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:34:8: ( '=' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:34:10: '='
+            {
+            match('='); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__107"
+
+    // $ANTLR start "T__108"
+    public final void mT__108() throws RecognitionException {
+        try {
+            int _type = T__108;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:35:8: ( '>' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:35:10: '>'
+            {
+            match('>'); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__108"
+
+    // $ANTLR start "T__109"
+    public final void mT__109() throws RecognitionException {
+        try {
+            int _type = T__109;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:36:8: ( '<' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:36:10: '<'
+            {
+            match('<'); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__109"
+
+    // $ANTLR start "T__110"
+    public final void mT__110() throws RecognitionException {
+        try {
+            int _type = T__110;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:37:8: ( '>=' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:37:10: '>='
+            {
+            match(">="); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__110"
+
+    // $ANTLR start "T__111"
+    public final void mT__111() throws RecognitionException {
+        try {
+            int _type = T__111;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:38:8: ( '<=' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:38:10: '<='
+            {
+            match("<="); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__111"
+
+    // $ANTLR start "T__112"
+    public final void mT__112() throws RecognitionException {
+        try {
+            int _type = T__112;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:39:8: ( '.' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:39:10: '.'
+            {
+            match('.'); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__112"
+
+    // $ANTLR start "T__113"
+    public final void mT__113() throws RecognitionException {
+        try {
+            int _type = T__113;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:40:8: ( '[' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:40:10: '['
+            {
+            match('['); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__113"
+
+    // $ANTLR start "T__114"
+    public final void mT__114() throws RecognitionException {
+        try {
+            int _type = T__114;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:41:8: ( ',' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:41:10: ','
+            {
+            match(','); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__114"
+
+    // $ANTLR start "T__115"
+    public final void mT__115() throws RecognitionException {
+        try {
+            int _type = T__115;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:42:8: ( ']' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:42:10: ']'
+            {
+            match(']'); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__115"
+
+    // $ANTLR start "T__116"
+    public final void mT__116() throws RecognitionException {
+        try {
+            int _type = T__116;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:43:8: ( '{' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:43:10: '{'
+            {
+            match('{'); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__116"
+
+    // $ANTLR start "T__117"
+    public final void mT__117() throws RecognitionException {
+        try {
+            int _type = T__117;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:44:8: ( '}' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:44:10: '}'
+            {
+            match('}'); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__117"
+
+    // $ANTLR start "T__118"
+    public final void mT__118() throws RecognitionException {
+        try {
+            int _type = T__118;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:45:8: ( ':' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:45:10: ':'
+            {
+            match(':'); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__118"
+
+    // $ANTLR start "T__119"
+    public final void mT__119() throws RecognitionException {
+        try {
+            int _type = T__119;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:46:8: ( '(' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:46:10: '('
+            {
+            match('('); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__119"
+
+    // $ANTLR start "T__120"
+    public final void mT__120() throws RecognitionException {
+        try {
+            int _type = T__120;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:47:8: ( ')' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:47:10: ')'
+            {
+            match(')'); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "T__120"
+
+    // $ANTLR start "CONFIG"
+    public final void mCONFIG() throws RecognitionException {
+        try {
+            int _type = CONFIG;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:542:7: ( 'CONFIG' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:542:14: 'CONFIG'
+            {
+            match("CONFIG"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "CONFIG"
+
+    // $ANTLR start "CONNECT"
+    public final void mCONNECT() throws RecognitionException {
+        try {
+            int _type = CONNECT;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:543:8: ( 'CONNECT' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:543:14: 'CONNECT'
+            {
+            match("CONNECT"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "CONNECT"
+
+    // $ANTLR start "COUNT"
+    public final void mCOUNT() throws RecognitionException {
+        try {
+            int _type = COUNT;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:544:6: ( 'COUNT' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:544:14: 'COUNT'
+            {
+            match("COUNT"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "COUNT"
+
+    // $ANTLR start "DEL"
+    public final void mDEL() throws RecognitionException {
+        try {
+            int _type = DEL;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:545:4: ( 'DEL' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:545:14: 'DEL'
+            {
+            match("DEL"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "DEL"
+
+    // $ANTLR start "DESCRIBE"
+    public final void mDESCRIBE() throws RecognitionException {
+        try {
+            int _type = DESCRIBE;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:546:9: ( 'DESCRIBE' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:546:14: 'DESCRIBE'
+            {
+            match("DESCRIBE"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "DESCRIBE"
+
+    // $ANTLR start "USE"
+    public final void mUSE() throws RecognitionException {
+        try {
+            int _type = USE;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:547:4: ( 'USE' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:547:14: 'USE'
+            {
+            match("USE"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "USE"
+
+    // $ANTLR start "GET"
+    public final void mGET() throws RecognitionException {
+        try {
+            int _type = GET;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:548:4: ( 'GET' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:548:14: 'GET'
+            {
+            match("GET"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "GET"
+
+    // $ANTLR start "HELP"
+    public final void mHELP() throws RecognitionException {
+        try {
+            int _type = HELP;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:549:5: ( 'HELP' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:549:14: 'HELP'
+            {
+            match("HELP"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "HELP"
+
+    // $ANTLR start "EXIT"
+    public final void mEXIT() throws RecognitionException {
+        try {
+            int _type = EXIT;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:550:5: ( 'EXIT' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:550:14: 'EXIT'
+            {
+            match("EXIT"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "EXIT"
+
+    // $ANTLR start "FILE"
+    public final void mFILE() throws RecognitionException {
+        try {
+            int _type = FILE;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:551:5: ( 'FILE' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:551:14: 'FILE'
+            {
+            match("FILE"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "FILE"
+
+    // $ANTLR start "QUIT"
+    public final void mQUIT() throws RecognitionException {
+        try {
+            int _type = QUIT;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:552:5: ( 'QUIT' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:552:14: 'QUIT'
+            {
+            match("QUIT"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "QUIT"
+
+    // $ANTLR start "SET"
+    public final void mSET() throws RecognitionException {
+        try {
+            int _type = SET;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:553:4: ( 'SET' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:553:14: 'SET'
+            {
+            match("SET"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "SET"
+
+    // $ANTLR start "INCR"
+    public final void mINCR() throws RecognitionException {
+        try {
+            int _type = INCR;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:554:5: ( 'INCR' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:554:14: 'INCR'
+            {
+            match("INCR"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "INCR"
+
+    // $ANTLR start "DECR"
+    public final void mDECR() throws RecognitionException {
+        try {
+            int _type = DECR;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:555:5: ( 'DECR' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:555:14: 'DECR'
+            {
+            match("DECR"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "DECR"
+
+    // $ANTLR start "SHOW"
+    public final void mSHOW() throws RecognitionException {
+        try {
+            int _type = SHOW;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:556:5: ( 'SHOW' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:556:14: 'SHOW'
+            {
+            match("SHOW"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "SHOW"
+
+    // $ANTLR start "KEYSPACE"
+    public final void mKEYSPACE() throws RecognitionException {
+        try {
+            int _type = KEYSPACE;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:557:9: ( 'KEYSPACE' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:557:14: 'KEYSPACE'
+            {
+            match("KEYSPACE"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "KEYSPACE"
+
+    // $ANTLR start "KEYSPACES"
+    public final void mKEYSPACES() throws RecognitionException {
+        try {
+            int _type = KEYSPACES;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:558:10: ( 'KEYSPACES' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:558:14: 'KEYSPACES'
+            {
+            match("KEYSPACES"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "KEYSPACES"
+
+    // $ANTLR start "API_VERSION"
+    public final void mAPI_VERSION() throws RecognitionException {
+        try {
+            int _type = API_VERSION;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:559:12: ( 'API VERSION' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:559:14: 'API VERSION'
+            {
+            match("API VERSION"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "API_VERSION"
+
+    // $ANTLR start "CREATE"
+    public final void mCREATE() throws RecognitionException {
+        try {
+            int _type = CREATE;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:560:7: ( 'CREATE' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:560:14: 'CREATE'
+            {
+            match("CREATE"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "CREATE"
+
+    // $ANTLR start "DROP"
+    public final void mDROP() throws RecognitionException {
+        try {
+            int _type = DROP;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:561:5: ( 'DROP' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:561:14: 'DROP'
+            {
+            match("DROP"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "DROP"
+
+    // $ANTLR start "COLUMN"
+    public final void mCOLUMN() throws RecognitionException {
+        try {
+            int _type = COLUMN;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:562:7: ( 'COLUMN' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:562:14: 'COLUMN'
+            {
+            match("COLUMN"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "COLUMN"
+
+    // $ANTLR start "FAMILY"
+    public final void mFAMILY() throws RecognitionException {
+        try {
+            int _type = FAMILY;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:563:7: ( 'FAMILY' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:563:14: 'FAMILY'
+            {
+            match("FAMILY"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "FAMILY"
+
+    // $ANTLR start "WITH"
+    public final void mWITH() throws RecognitionException {
+        try {
+            int _type = WITH;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:564:5: ( 'WITH' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:564:14: 'WITH'
+            {
+            match("WITH"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "WITH"
+
+    // $ANTLR start "BY"
+    public final void mBY() throws RecognitionException {
+        try {
+            int _type = BY;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:565:3: ( 'BY' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:565:14: 'BY'
+            {
+            match("BY"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "BY"
+
+    // $ANTLR start "AND"
+    public final void mAND() throws RecognitionException {
+        try {
+            int _type = AND;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:566:4: ( 'AND' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:566:14: 'AND'
+            {
+            match("AND"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "AND"
+
+    // $ANTLR start "UPDATE"
+    public final void mUPDATE() throws RecognitionException {
+        try {
+            int _type = UPDATE;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:567:7: ( 'UPDATE' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:567:14: 'UPDATE'
+            {
+            match("UPDATE"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "UPDATE"
+
+    // $ANTLR start "LIST"
+    public final void mLIST() throws RecognitionException {
+        try {
+            int _type = LIST;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:568:5: ( 'LIST' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:568:14: 'LIST'
+            {
+            match("LIST"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "LIST"
+
+    // $ANTLR start "LIMIT"
+    public final void mLIMIT() throws RecognitionException {
+        try {
+            int _type = LIMIT;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:569:6: ( 'LIMIT' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:569:14: 'LIMIT'
+            {
+            match("LIMIT"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "LIMIT"
+
+    // $ANTLR start "TRUNCATE"
+    public final void mTRUNCATE() throws RecognitionException {
+        try {
+            int _type = TRUNCATE;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:570:9: ( 'TRUNCATE' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:570:14: 'TRUNCATE'
+            {
+            match("TRUNCATE"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "TRUNCATE"
+
+    // $ANTLR start "ASSUME"
+    public final void mASSUME() throws RecognitionException {
+        try {
+            int _type = ASSUME;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:571:7: ( 'ASSUME' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:571:14: 'ASSUME'
+            {
+            match("ASSUME"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "ASSUME"
+
+    // $ANTLR start "TTL"
+    public final void mTTL() throws RecognitionException {
+        try {
+            int _type = TTL;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:572:4: ( 'TTL' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:572:14: 'TTL'
+            {
+            match("TTL"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "TTL"
+
+    // $ANTLR start "CONSISTENCYLEVEL"
+    public final void mCONSISTENCYLEVEL() throws RecognitionException {
+        try {
+            int _type = CONSISTENCYLEVEL;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:573:17: ( 'CONSISTENCYLEVEL' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:573:21: 'CONSISTENCYLEVEL'
+            {
+            match("CONSISTENCYLEVEL"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "CONSISTENCYLEVEL"
+
+    // $ANTLR start "INDEX"
+    public final void mINDEX() throws RecognitionException {
+        try {
+            int _type = INDEX;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:574:6: ( 'INDEX' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:574:14: 'INDEX'
+            {
+            match("INDEX"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "INDEX"
+
+    // $ANTLR start "ON"
+    public final void mON() throws RecognitionException {
+        try {
+            int _type = ON;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:575:3: ( 'ON' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:575:14: 'ON'
+            {
+            match("ON"); 
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "ON"
+
+    // $ANTLR start "IP_ADDRESS"
+    public final void mIP_ADDRESS() throws RecognitionException {
+        try {
+            int _type = IP_ADDRESS;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:578:5: ( IntegerPositiveLiteral '.' IntegerPositiveLiteral '.' IntegerPositiveLiteral '.' IntegerPositiveLiteral )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:578:7: IntegerPositiveLiteral '.' IntegerPositiveLiteral '.' IntegerPositiveLiteral '.' IntegerPositiveLiteral
+            {
+            mIntegerPositiveLiteral(); 
+            match('.'); 
+            mIntegerPositiveLiteral(); 
+            match('.'); 
+            mIntegerPositiveLiteral(); 
+            match('.'); 
+            mIntegerPositiveLiteral(); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "IP_ADDRESS"
+
+    // $ANTLR start "Letter"
+    public final void mLetter() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:584:5: ( 'a' .. 'z' | 'A' .. 'Z' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:
+            {
+            if ( (input.LA(1)>='A' && input.LA(1)<='Z')||(input.LA(1)>='a' && input.LA(1)<='z') ) {
+                input.consume();
+
+            }
+            else {
+                MismatchedSetException mse = new MismatchedSetException(null,input);
+                recover(mse);
+                throw mse;}
+
+
+            }
+
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "Letter"
+
+    // $ANTLR start "Digit"
+    public final void mDigit() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:590:5: ( '0' .. '9' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:590:7: '0' .. '9'
+            {
+            matchRange('0','9'); 
+
+            }
+
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "Digit"
+
+    // $ANTLR start "Alnum"
+    public final void mAlnum() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:595:5: ( Letter | Digit )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:
+            {
+            if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||(input.LA(1)>='a' && input.LA(1)<='z') ) {
+                input.consume();
+
+            }
+            else {
+                MismatchedSetException mse = new MismatchedSetException(null,input);
+                recover(mse);
+                throw mse;}
+
+
+            }
+
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "Alnum"
+
+    // $ANTLR start "IntegerPositiveLiteral"
+    public final void mIntegerPositiveLiteral() throws RecognitionException {
+        try {
+            int _type = IntegerPositiveLiteral;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:601:4: ( ( Digit )+ )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:601:6: ( Digit )+
+            {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:601:6: ( Digit )+
+            int cnt1=0;
+            loop1:
+            do {
+                int alt1=2;
+                int LA1_0 = input.LA(1);
+
+                if ( ((LA1_0>='0' && LA1_0<='9')) ) {
+                    alt1=1;
+                }
+
+
+                switch (alt1) {
+            	case 1 :
+            	    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:601:6: Digit
+            	    {
+            	    mDigit(); 
+
+            	    }
+            	    break;
+
+            	default :
+            	    if ( cnt1 >= 1 ) break loop1;
+                        EarlyExitException eee =
+                            new EarlyExitException(1, input);
+                        throw eee;
+                }
+                cnt1++;
+            } while (true);
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "IntegerPositiveLiteral"
+
+    // $ANTLR start "IntegerNegativeLiteral"
+    public final void mIntegerNegativeLiteral() throws RecognitionException {
+        try {
+            int _type = IntegerNegativeLiteral;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:605:4: ( '-' ( Digit )+ )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:605:6: '-' ( Digit )+
+            {
+            match('-'); 
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:605:10: ( Digit )+
+            int cnt2=0;
+            loop2:
+            do {
+                int alt2=2;
+                int LA2_0 = input.LA(1);
+
+                if ( ((LA2_0>='0' && LA2_0<='9')) ) {
+                    alt2=1;
+                }
+
+
+                switch (alt2) {
+            	case 1 :
+            	    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:605:10: Digit
+            	    {
+            	    mDigit(); 
+
+            	    }
+            	    break;
+
+            	default :
+            	    if ( cnt2 >= 1 ) break loop2;
+                        EarlyExitException eee =
+                            new EarlyExitException(2, input);
+                        throw eee;
+                }
+                cnt2++;
+            } while (true);
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "IntegerNegativeLiteral"
+
+    // $ANTLR start "DoubleLiteral"
+    public final void mDoubleLiteral() throws RecognitionException {
+        try {
+            int _type = DoubleLiteral;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:609:4: ( ( Digit )+ '.' ( Digit )+ )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:609:6: ( Digit )+ '.' ( Digit )+
+            {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:609:6: ( Digit )+
+            int cnt3=0;
+            loop3:
+            do {
+                int alt3=2;
+                int LA3_0 = input.LA(1);
+
+                if ( ((LA3_0>='0' && LA3_0<='9')) ) {
+                    alt3=1;
+                }
+
+
+                switch (alt3) {
+            	case 1 :
+            	    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:609:6: Digit
+            	    {
+            	    mDigit(); 
+
+            	    }
+            	    break;
+
+            	default :
+            	    if ( cnt3 >= 1 ) break loop3;
+                        EarlyExitException eee =
+                            new EarlyExitException(3, input);
+                        throw eee;
+                }
+                cnt3++;
+            } while (true);
+
+            match('.'); 
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:609:17: ( Digit )+
+            int cnt4=0;
+            loop4:
+            do {
+                int alt4=2;
+                int LA4_0 = input.LA(1);
+
+                if ( ((LA4_0>='0' && LA4_0<='9')) ) {
+                    alt4=1;
+                }
+
+
+                switch (alt4) {
+            	case 1 :
+            	    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:609:17: Digit
+            	    {
+            	    mDigit(); 
+
+            	    }
+            	    break;
+
+            	default :
+            	    if ( cnt4 >= 1 ) break loop4;
+                        EarlyExitException eee =
+                            new EarlyExitException(4, input);
+                        throw eee;
+                }
+                cnt4++;
+            } while (true);
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "DoubleLiteral"
+
+    // $ANTLR start "Identifier"
+    public final void mIdentifier() throws RecognitionException {
+        try {
+            int _type = Identifier;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:612:5: ( ( Letter | Alnum ) ( Alnum | '_' | '-' )* )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:612:7: ( Letter | Alnum ) ( Alnum | '_' | '-' )*
+            {
+            if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||(input.LA(1)>='a' && input.LA(1)<='z') ) {
+                input.consume();
+
+            }
+            else {
+                MismatchedSetException mse = new MismatchedSetException(null,input);
+                recover(mse);
+                throw mse;}
+
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:612:24: ( Alnum | '_' | '-' )*
+            loop5:
+            do {
+                int alt5=2;
+                int LA5_0 = input.LA(1);
+
+                if ( (LA5_0=='-'||(LA5_0>='0' && LA5_0<='9')||(LA5_0>='A' && LA5_0<='Z')||LA5_0=='_'||(LA5_0>='a' && LA5_0<='z')) ) {
+                    alt5=1;
+                }
+
+
+                switch (alt5) {
+            	case 1 :
+            	    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:
+            	    {
+            	    if ( input.LA(1)=='-'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
+            	        input.consume();
+
+            	    }
+            	    else {
+            	        MismatchedSetException mse = new MismatchedSetException(null,input);
+            	        recover(mse);
+            	        throw mse;}
+
+
+            	    }
+            	    break;
+
+            	default :
+            	    break loop5;
+                }
+            } while (true);
+
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "Identifier"
+
+    // $ANTLR start "StringLiteral"
+    public final void mStringLiteral() throws RecognitionException {
+        try {
+            int _type = StringLiteral;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:617:5: ( '\\'' ( SingleStringCharacter )* '\\'' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:617:7: '\\'' ( SingleStringCharacter )* '\\''
+            {
+            match('\''); 
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:617:12: ( SingleStringCharacter )*
+            loop6:
+            do {
+                int alt6=2;
+                int LA6_0 = input.LA(1);
+
+                if ( ((LA6_0>='\u0000' && LA6_0<='&')||(LA6_0>='(' && LA6_0<='\uFFFF')) ) {
+                    alt6=1;
+                }
+
+
+                switch (alt6) {
+            	case 1 :
+            	    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:617:12: SingleStringCharacter
+            	    {
+            	    mSingleStringCharacter(); 
+
+            	    }
+            	    break;
+
+            	default :
+            	    break loop6;
+                }
+            } while (true);
+
+            match('\''); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "StringLiteral"
+
+    // $ANTLR start "SingleStringCharacter"
+    public final void mSingleStringCharacter() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:621:2: (~ ( '\\'' | '\\\\' ) | '\\\\' EscapeSequence )
+            int alt7=2;
+            int LA7_0 = input.LA(1);
+
+            if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
+                alt7=1;
+            }
+            else if ( (LA7_0=='\\') ) {
+                alt7=2;
+            }
+            else {
+                NoViableAltException nvae =
+                    new NoViableAltException("", 7, 0, input);
+
+                throw nvae;
+            }
+            switch (alt7) {
+                case 1 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:621:4: ~ ( '\\'' | '\\\\' )
+                    {
+                    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
+                        input.consume();
+
+                    }
+                    else {
+                        MismatchedSetException mse = new MismatchedSetException(null,input);
+                        recover(mse);
+                        throw mse;}
+
+
+                    }
+                    break;
+                case 2 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:622:4: '\\\\' EscapeSequence
+                    {
+                    match('\\'); 
+                    mEscapeSequence(); 
+
+                    }
+                    break;
+
+            }
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "SingleStringCharacter"
+
+    // $ANTLR start "EscapeSequence"
+    public final void mEscapeSequence() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:626:2: ( CharacterEscapeSequence | '0' | HexEscapeSequence | UnicodeEscapeSequence )
+            int alt8=4;
+            int LA8_0 = input.LA(1);
+
+            if ( ((LA8_0>='\u0000' && LA8_0<='/')||(LA8_0>=':' && LA8_0<='t')||(LA8_0>='v' && LA8_0<='w')||(LA8_0>='y' && LA8_0<='\uFFFF')) ) {
+                alt8=1;
+            }
+            else if ( (LA8_0=='0') ) {
+                alt8=2;
+            }
+            else if ( (LA8_0=='x') ) {
+                alt8=3;
+            }
+            else if ( (LA8_0=='u') ) {
+                alt8=4;
+            }
+            else {
+                NoViableAltException nvae =
+                    new NoViableAltException("", 8, 0, input);
+
+                throw nvae;
+            }
+            switch (alt8) {
+                case 1 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:626:4: CharacterEscapeSequence
+                    {
+                    mCharacterEscapeSequence(); 
+
+                    }
+                    break;
+                case 2 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:627:4: '0'
+                    {
+                    match('0'); 
+
+                    }
+                    break;
+                case 3 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:628:4: HexEscapeSequence
+                    {
+                    mHexEscapeSequence(); 
+
+                    }
+                    break;
+                case 4 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:629:4: UnicodeEscapeSequence
+                    {
+                    mUnicodeEscapeSequence(); 
+
+                    }
+                    break;
+
+            }
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "EscapeSequence"
+
+    // $ANTLR start "CharacterEscapeSequence"
+    public final void mCharacterEscapeSequence() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:633:2: ( SingleEscapeCharacter | NonEscapeCharacter )
+            int alt9=2;
+            int LA9_0 = input.LA(1);
+
+            if ( (LA9_0=='\"'||LA9_0=='\''||LA9_0=='\\'||LA9_0=='b'||LA9_0=='f'||LA9_0=='n'||LA9_0=='r'||LA9_0=='t'||LA9_0=='v') ) {
+                alt9=1;
+            }
+            else if ( ((LA9_0>='\u0000' && LA9_0<='!')||(LA9_0>='#' && LA9_0<='&')||(LA9_0>='(' && LA9_0<='/')||(LA9_0>=':' && LA9_0<='[')||(LA9_0>=']' && LA9_0<='a')||(LA9_0>='c' && LA9_0<='e')||(LA9_0>='g' && LA9_0<='m')||(LA9_0>='o' && LA9_0<='q')||LA9_0=='s'||LA9_0=='w'||(LA9_0>='y' && LA9_0<='\uFFFF')) ) {
+                alt9=2;
+            }
+            else {
+                NoViableAltException nvae =
+                    new NoViableAltException("", 9, 0, input);
+
+                throw nvae;
+            }
+            switch (alt9) {
+                case 1 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:633:4: SingleEscapeCharacter
+                    {
+                    mSingleEscapeCharacter(); 
+
+                    }
+                    break;
+                case 2 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:634:4: NonEscapeCharacter
+                    {
+                    mNonEscapeCharacter(); 
+
+                    }
+                    break;
+
+            }
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "CharacterEscapeSequence"
+
+    // $ANTLR start "NonEscapeCharacter"
+    public final void mNonEscapeCharacter() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:638:2: (~ ( EscapeCharacter ) )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:638:4: ~ ( EscapeCharacter )
+            {
+            if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='/')||(input.LA(1)>=':' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='a')||(input.LA(1)>='c' && input.LA(1)<='e')||(input.LA(1)>='g' && input.LA(1)<='m')||(input.LA(1)>='o' && input.LA(1)<='q')||input.LA(1)=='s'||input.LA(1)=='w'||(input.LA(1)>='y' && input.LA(1)<='\uFFFF') ) {
+                input.consume();
+
+            }
+            else {
+                MismatchedSetException mse = new MismatchedSetException(null,input);
+                recover(mse);
+                throw mse;}
+
+
+            }
+
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "NonEscapeCharacter"
+
+    // $ANTLR start "SingleEscapeCharacter"
+    public final void mSingleEscapeCharacter() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:642:2: ( '\\'' | '\"' | '\\\\' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:
+            {
+            if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t'||input.LA(1)=='v' ) {
+                input.consume();
+
+            }
+            else {
+                MismatchedSetException mse = new MismatchedSetException(null,input);
+                recover(mse);
+                throw mse;}
+
+
+            }
+
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "SingleEscapeCharacter"
+
+    // $ANTLR start "EscapeCharacter"
+    public final void mEscapeCharacter() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:646:2: ( SingleEscapeCharacter | DecimalDigit | 'x' | 'u' )
+            int alt10=4;
+            switch ( input.LA(1) ) {
+            case '\"':
+            case '\'':
+            case '\\':
+            case 'b':
+            case 'f':
+            case 'n':
+            case 'r':
+            case 't':
+            case 'v':
+                {
+                alt10=1;
+                }
+                break;
+            case '0':
+            case '1':
+            case '2':
+            case '3':
+            case '4':
+            case '5':
+            case '6':
+            case '7':
+            case '8':
+            case '9':
+                {
+                alt10=2;
+                }
+                break;
+            case 'x':
+                {
+                alt10=3;
+                }
+                break;
+            case 'u':
+                {
+                alt10=4;
+                }
+                break;
+            default:
+                NoViableAltException nvae =
+                    new NoViableAltException("", 10, 0, input);
+
+                throw nvae;
+            }
+
+            switch (alt10) {
+                case 1 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:646:4: SingleEscapeCharacter
+                    {
+                    mSingleEscapeCharacter(); 
+
+                    }
+                    break;
+                case 2 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:647:4: DecimalDigit
+                    {
+                    mDecimalDigit(); 
+
+                    }
+                    break;
+                case 3 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:648:4: 'x'
+                    {
+                    match('x'); 
+
+                    }
+                    break;
+                case 4 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:649:4: 'u'
+                    {
+                    match('u'); 
+
+                    }
+                    break;
+
+            }
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "EscapeCharacter"
+
+    // $ANTLR start "HexEscapeSequence"
+    public final void mHexEscapeSequence() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:653:2: ( 'x' HexDigit HexDigit )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:653:4: 'x' HexDigit HexDigit
+            {
+            match('x'); 
+            mHexDigit(); 
+            mHexDigit(); 
+
+            }
+
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "HexEscapeSequence"
+
+    // $ANTLR start "UnicodeEscapeSequence"
+    public final void mUnicodeEscapeSequence() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:657:2: ( 'u' HexDigit HexDigit HexDigit HexDigit )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:657:4: 'u' HexDigit HexDigit HexDigit HexDigit
+            {
+            match('u'); 
+            mHexDigit(); 
+            mHexDigit(); 
+            mHexDigit(); 
+            mHexDigit(); 
+
+            }
+
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "UnicodeEscapeSequence"
+
+    // $ANTLR start "HexDigit"
+    public final void mHexDigit() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:661:2: ( DecimalDigit | ( 'a' .. 'f' ) | ( 'A' .. 'F' ) )
+            int alt11=3;
+            switch ( input.LA(1) ) {
+            case '0':
+            case '1':
+            case '2':
+            case '3':
+            case '4':
+            case '5':
+            case '6':
+            case '7':
+            case '8':
+            case '9':
+                {
+                alt11=1;
+                }
+                break;
+            case 'a':
+            case 'b':
+            case 'c':
+            case 'd':
+            case 'e':
+            case 'f':
+                {
+                alt11=2;
+                }
+                break;
+            case 'A':
+            case 'B':
+            case 'C':
+            case 'D':
+            case 'E':
+            case 'F':
+                {
+                alt11=3;
+                }
+                break;
+            default:
+                NoViableAltException nvae =
+                    new NoViableAltException("", 11, 0, input);
+
+                throw nvae;
+            }
+
+            switch (alt11) {
+                case 1 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:661:4: DecimalDigit
+                    {
+                    mDecimalDigit(); 
+
+                    }
+                    break;
+                case 2 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:661:19: ( 'a' .. 'f' )
+                    {
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:661:19: ( 'a' .. 'f' )
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:661:20: 'a' .. 'f'
+                    {
+                    matchRange('a','f'); 
+
+                    }
+
+
+                    }
+                    break;
+                case 3 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:661:32: ( 'A' .. 'F' )
+                    {
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:661:32: ( 'A' .. 'F' )
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:661:33: 'A' .. 'F'
+                    {
+                    matchRange('A','F'); 
+
+                    }
+
+
+                    }
+                    break;
+
+            }
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "HexDigit"
+
+    // $ANTLR start "DecimalDigit"
+    public final void mDecimalDigit() throws RecognitionException {
+        try {
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:665:2: ( ( '0' .. '9' ) )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:665:4: ( '0' .. '9' )
+            {
+            if ( (input.LA(1)>='0' && input.LA(1)<='9') ) {
+                input.consume();
+
+            }
+            else {
+                MismatchedSetException mse = new MismatchedSetException(null,input);
+                recover(mse);
+                throw mse;}
+
+
+            }
+
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "DecimalDigit"
+
+    // $ANTLR start "SEMICOLON"
+    public final void mSEMICOLON() throws RecognitionException {
+        try {
+            int _type = SEMICOLON;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:673:5: ( ';' )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:673:7: ';'
+            {
+            match(';'); 
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "SEMICOLON"
+
+    // $ANTLR start "WS"
+    public final void mWS() throws RecognitionException {
+        try {
+            int _type = WS;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:677:5: ( ( ' ' | '\\r' | '\\t' | '\\n' ) )
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:677:8: ( ' ' | '\\r' | '\\t' | '\\n' )
+            {
+            if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
+                input.consume();
+
+            }
+            else {
+                MismatchedSetException mse = new MismatchedSetException(null,input);
+                recover(mse);
+                throw mse;}
+
+            _channel=HIDDEN;
+
+            }
+
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "WS"
+
+    // $ANTLR start "COMMENT"
+    public final void mCOMMENT() throws RecognitionException {
+        try {
+            int _type = COMMENT;
+            int _channel = DEFAULT_TOKEN_CHANNEL;
+            // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:681:5: ( '--' (~ ( '\\n' | '\\r' ) )* | '/*' ( options {greedy=false; } : . )* '*/' )
+            int alt14=2;
+            int LA14_0 = input.LA(1);
+
+            if ( (LA14_0=='-') ) {
+                alt14=1;
+            }
+            else if ( (LA14_0=='/') ) {
+                alt14=2;
+            }
+            else {
+                NoViableAltException nvae =
+                    new NoViableAltException("", 14, 0, input);
+
+                throw nvae;
+            }
+            switch (alt14) {
+                case 1 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:681:7: '--' (~ ( '\\n' | '\\r' ) )*
+                    {
+                    match("--"); 
+
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:681:12: (~ ( '\\n' | '\\r' ) )*
+                    loop12:
+                    do {
+                        int alt12=2;
+                        int LA12_0 = input.LA(1);
+
+                        if ( ((LA12_0>='\u0000' && LA12_0<='\t')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\uFFFF')) ) {
+                            alt12=1;
+                        }
+
+
+                        switch (alt12) {
+                    	case 1 :
+                    	    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:681:13: ~ ( '\\n' | '\\r' )
+                    	    {
+                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
+                    	        input.consume();
+
+                    	    }
+                    	    else {
+                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
+                    	        recover(mse);
+                    	        throw mse;}
+
+
+                    	    }
+                    	    break;
+
+                    	default :
+                    	    break loop12;
+                        }
+                    } while (true);
+
+                     _channel=HIDDEN; 
+
+                    }
+                    break;
+                case 2 :
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:682:7: '/*' ( options {greedy=false; } : . )* '*/'
+                    {
+                    match("/*"); 
+
+                    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:682:12: ( options {greedy=false; } : . )*
+                    loop13:
+                    do {
+                        int alt13=2;
+                        int LA13_0 = input.LA(1);
+
+                        if ( (LA13_0=='*') ) {
+                            int LA13_1 = input.LA(2);
+
+                            if ( (LA13_1=='/') ) {
+                                alt13=2;
+                            }
+                            else if ( ((LA13_1>='\u0000' && LA13_1<='.')||(LA13_1>='0' && LA13_1<='\uFFFF')) ) {
+                                alt13=1;
+                            }
+
+
+                        }
+                        else if ( ((LA13_0>='\u0000' && LA13_0<=')')||(LA13_0>='+' && LA13_0<='\uFFFF')) ) {
+                            alt13=1;
+                        }
+
+
+                        switch (alt13) {
+                    	case 1 :
+                    	    // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:682:39: .
+                    	    {
+                    	    matchAny(); 
+
+                    	    }
+                    	    break;
+
+                    	default :
+                    	    break loop13;
+                        }
+                    } while (true);
+
+                    match("*/"); 
+
+                     _channel=HIDDEN; 
+
+                    }
+                    break;
+
+            }
+            state.type = _type;
+            state.channel = _channel;
+        }
+        finally {
+        }
+    }
+    // $ANTLR end "COMMENT"
+
+    public void mTokens() throws RecognitionException {
+        // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:8: ( T__101 | T__102 | T__103 | T__104 | T__105 | T__106 | T__107 | T__108 | T__109 | T__110 | T__111 | T__112 | T__113 | T__114 | T__115 | T__116 | T__117 | T__118 | T__119 | T__120 | CONFIG | CONNECT | COUNT | DEL | DESCRIBE | USE | GET | HELP | EXIT | FILE | QUIT | SET | INCR | DECR | SHOW | KEYSPACE | KEYSPACES | API_VERSION | CREATE | DROP | COLUMN | FAMILY | WITH | BY | AND | UPDATE | LIST | LIMIT | TRUNCATE | ASSUME | TTL | CONSISTENCYLEVEL | INDEX | ON | IP_ADDRESS | IntegerPositiveLiteral | IntegerNegativeLiteral | DoubleLiteral | Identifier | StringLiteral | SEMICOLON | WS | COMMENT )
+        int alt15=63;
+        alt15 = dfa15.predict(input);
+        switch (alt15) {
+            case 1 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:10: T__101
+                {
+                mT__101(); 
+
+                }
+                break;
+            case 2 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:17: T__102
+                {
+                mT__102(); 
+
+                }
+                break;
+            case 3 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:24: T__103
+                {
+                mT__103(); 
+
+                }
+                break;
+            case 4 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:31: T__104
+                {
+                mT__104(); 
+
+                }
+                break;
+            case 5 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:38: T__105
+                {
+                mT__105(); 
+
+                }
+                break;
+            case 6 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:45: T__106
+                {
+                mT__106(); 
+
+                }
+                break;
+            case 7 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:52: T__107
+                {
+                mT__107(); 
+
+                }
+                break;
+            case 8 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:59: T__108
+                {
+                mT__108(); 
+
+                }
+                break;
+            case 9 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:66: T__109
+                {
+                mT__109(); 
+
+                }
+                break;
+            case 10 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:73: T__110
+                {
+                mT__110(); 
+
+                }
+                break;
+            case 11 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:80: T__111
+                {
+                mT__111(); 
+
+                }
+                break;
+            case 12 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:87: T__112
+                {
+                mT__112(); 
+
+                }
+                break;
+            case 13 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:94: T__113
+                {
+                mT__113(); 
+
+                }
+                break;
+            case 14 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:101: T__114
+                {
+                mT__114(); 
+
+                }
+                break;
+            case 15 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:108: T__115
+                {
+                mT__115(); 
+
+                }
+                break;
+            case 16 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:115: T__116
+                {
+                mT__116(); 
+
+                }
+                break;
+            case 17 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:122: T__117
+                {
+                mT__117(); 
+
+                }
+                break;
+            case 18 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:129: T__118
+                {
+                mT__118(); 
+
+                }
+                break;
+            case 19 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:136: T__119
+                {
+                mT__119(); 
+
+                }
+                break;
+            case 20 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:143: T__120
+                {
+                mT__120(); 
+
+                }
+                break;
+            case 21 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:150: CONFIG
+                {
+                mCONFIG(); 
+
+                }
+                break;
+            case 22 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:157: CONNECT
+                {
+                mCONNECT(); 
+
+                }
+                break;
+            case 23 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:165: COUNT
+                {
+                mCOUNT(); 
+
+                }
+                break;
+            case 24 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:171: DEL
+                {
+                mDEL(); 
+
+                }
+                break;
+            case 25 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:175: DESCRIBE
+                {
+                mDESCRIBE(); 
+
+                }
+                break;
+            case 26 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:184: USE
+                {
+                mUSE(); 
+
+                }
+                break;
+            case 27 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:188: GET
+                {
+                mGET(); 
+
+                }
+                break;
+            case 28 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:192: HELP
+                {
+                mHELP(); 
+
+                }
+                break;
+            case 29 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:197: EXIT
+                {
+                mEXIT(); 
+
+                }
+                break;
+            case 30 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:202: FILE
+                {
+                mFILE(); 
+
+                }
+                break;
+            case 31 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:207: QUIT
+                {
+                mQUIT(); 
+
+                }
+                break;
+            case 32 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:212: SET
+                {
+                mSET(); 
+
+                }
+                break;
+            case 33 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:216: INCR
+                {
+                mINCR(); 
+
+                }
+                break;
+            case 34 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:221: DECR
+                {
+                mDECR(); 
+
+                }
+                break;
+            case 35 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:226: SHOW
+                {
+                mSHOW(); 
+
+                }
+                break;
+            case 36 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:231: KEYSPACE
+                {
+                mKEYSPACE(); 
+
+                }
+                break;
+            case 37 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:240: KEYSPACES
+                {
+                mKEYSPACES(); 
+
+                }
+                break;
+            case 38 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:250: API_VERSION
+                {
+                mAPI_VERSION(); 
+
+                }
+                break;
+            case 39 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:262: CREATE
+                {
+                mCREATE(); 
+
+                }
+                break;
+            case 40 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:269: DROP
+                {
+                mDROP(); 
+
+                }
+                break;
+            case 41 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:274: COLUMN
+                {
+                mCOLUMN(); 
+
+                }
+                break;
+            case 42 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:281: FAMILY
+                {
+                mFAMILY(); 
+
+                }
+                break;
+            case 43 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:288: WITH
+                {
+                mWITH(); 
+
+                }
+                break;
+            case 44 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:293: BY
+                {
+                mBY(); 
+
+                }
+                break;
+            case 45 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:296: AND
+                {
+                mAND(); 
+
+                }
+                break;
+            case 46 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:300: UPDATE
+                {
+                mUPDATE(); 
+
+                }
+                break;
+            case 47 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:307: LIST
+                {
+                mLIST(); 
+
+                }
+                break;
+            case 48 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:312: LIMIT
+                {
+                mLIMIT(); 
+
+                }
+                break;
+            case 49 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:318: TRUNCATE
+                {
+                mTRUNCATE(); 
+
+                }
+                break;
+            case 50 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:327: ASSUME
+                {
+                mASSUME(); 
+
+                }
+                break;
+            case 51 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:334: TTL
+                {
+                mTTL(); 
+
+                }
+                break;
+            case 52 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:338: CONSISTENCYLEVEL
+                {
+                mCONSISTENCYLEVEL(); 
+
+                }
+                break;
+            case 53 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:355: INDEX
+                {
+                mINDEX(); 
+
+                }
+                break;
+            case 54 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:361: ON
+                {
+                mON(); 
+
+                }
+                break;
+            case 55 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:364: IP_ADDRESS
+                {
+                mIP_ADDRESS(); 
+
+                }
+                break;
+            case 56 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:375: IntegerPositiveLiteral
+                {
+                mIntegerPositiveLiteral(); 
+
+                }
+                break;
+            case 57 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:398: IntegerNegativeLiteral
+                {
+                mIntegerNegativeLiteral(); 
+
+                }
+                break;
+            case 58 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:421: DoubleLiteral
+                {
+                mDoubleLiteral(); 
+
+                }
+                break;
+            case 59 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:435: Identifier
+                {
+                mIdentifier(); 
+
+                }
+                break;
+            case 60 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:446: StringLiteral
+                {
+                mStringLiteral(); 
+
+                }
+                break;
+            case 61 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:460: SEMICOLON
+                {
+                mSEMICOLON(); 
+
+                }
+                break;
+            case 62 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:470: WS
+                {
+                mWS(); 
+
+                }
+                break;
+            case 63 :
+                // /home/drift/svn/cassandra/trunk/src/java/org/apache/cassandra/cli/Cli.g:1:473: COMMENT
+                {
+                mCOMMENT(); 
+
+                }
+                break;
+
+        }
+
+    }
+
+
+    protected DFA15 dfa15 = new DFA15(this);
+    static final String DFA15_eotS =
+        "\1\uffff\1\47\1\42\1\uffff\2\42\1\uffff\1\61\1\63\11\uffff\16\42"+
+        "\1\107\7\uffff\3\42\1\121\4\42\4\uffff\16\42\1\147\3\42\1\154\1"+
+        "\uffff\1\107\2\uffff\6\42\1\uffff\1\42\1\167\2\42\1\172\3\42\1\176"+
+        "\1\42\1\u0080\5\42\1\u0086\4\42\1\uffff\3\42\1\u008e\1\uffff\1\u008f"+
+        "\10\42\2\uffff\1\42\1\u009a\1\uffff\1\42\1\u009c\1\u009d\1\uffff"+
+        "\1\42\1\uffff\1\u009f\1\u00a0\1\u00a1\1\42\1\u00a3\1\uffff\1\u00a4"+
+        "\1\u00a5\2\42\1\u00a8\2\42\3\uffff\4\42\1\u00af\3\42\1\u00b3\1\uffff"+
+        "\1\42\2\uffff\1\42\3\uffff\1\42\3\uffff\1\u00b7\1\42\1\uffff\1\u00b9"+
+        "\2\42\1\u00bc\2\42\1\uffff\1\u00bf\1\u00c0\1\u00c1\1\uffff\1\42"+
+        "\1\u00c3\1\u00c4\1\uffff\1\42\1\uffff\1\42\1\u00c8\1\uffff\1\u00c9"+
+        "\1\42\3\uffff\1\42\2\uffff\2\42\3\uffff\1\42\1\u00cf\1\u00d1\1\u00d2"+
+        "\1\42\1\uffff\1\u00d4\2\uffff\1\42\1\uffff\5\42\1\u00db\1\uffff";
+    static final String DFA15_eofS =
+        "\u00dc\uffff";
+    static final String DFA15_minS =
+        "\1\11\1\52\1\114\1\uffff\1\116\1\110\1\uffff\2\75\11\uffff\1\105"+
+        "\1\120\2\105\1\130\1\101\1\125\1\105\1\116\1\105\1\131\1\111\1\122"+

[... 316 lines stripped ...]


Mime
View raw message