ePOST API

rice.email.proxy.imap.parser.antlr
Class ImapCommandParser

java.lang.Object
  extended by antlr.Parser
      extended by antlr.LLkParser
          extended by rice.email.proxy.imap.parser.antlr.ImapCommandParser
All Implemented Interfaces:
ImapCommandParserTokenTypes

public class ImapCommandParser
extends antlr.LLkParser
implements ImapCommandParserTokenTypes


Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface rice.email.proxy.imap.parser.antlr.ImapCommandParserTokenTypes
ALL, ANSWERED, APPEND, ATOM, ATOM_CHAR, AUTHENTICATE, BCC, BEFORE, BODY, BODYSTRUCTURE, CAPABILITY, CC, CHAR, CHECK, CLOSE, COPY, CREATE, CTL, DELETE, DELETED, DRAFT, ENVELOPE, EOF, EXAMINE, EXPUNGE, FAST, FETCH, FIELDS, FLAG, FLAGGED, FLAGS, FROM, FULL, HEADER, INTERNALDATE, KEYWORD, LARGER, LIST, LITERAL_START, LOGIN, LOGOUT, LPAREN, LSANGLE, LSBRACKET, LSUB, MIME, NEW, NOOP, NOT, NULL_TREE_LOOKAHEAD, NUMBER, OLD, ON, OR, PEEK, PERIOD, PLUS, QUOTE, QUOTED, QUOTED_CHAR, QUOTED_SPECIALS, RECENT, RENAME, RFC822, RPAREN, RSANGLE, RSBRACKET, SEARCH, SEEN, SELECT, SENTBEFORE, SENTON, SENTSINCE, SINCE, SIZE, SMALLER, SPACE, STATUS, STORE, STRING, SUBJECT, SUBSCRIBE, TEXT, TO, UID, UNANSWERED, UNDELETED, UNDRAFT, UNFLAGGED, UNKEYWORD, UNKNOWN, UNSEEN, UNSUBSCRIBE
 
Constructor Summary
  ImapCommandParser(antlr.ParserSharedInputState state)
           
  ImapCommandParser(antlr.TokenBuffer tokenBuf)
           
protected ImapCommandParser(antlr.TokenBuffer tokenBuf, int k)
           
  ImapCommandParser(antlr.TokenStream lexer)
           
protected ImapCommandParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 void append()
           
 antlr.Token astring()
           
 java.util.List atom_list()
           
 void authenticate()
           
 void body_part(BodyPartRequest breq)
           
 void close()
           
 void command_any()
           
 void command_auth()
           
 void command_line()
           
 void command_nonauth()
           
 void command()
           
 void copy(boolean isUID)
           
 void create()
           
 void delete()
           
 void examine()
           
 void expunge()
           
 void fetch_part(FetchCommand cmd)
           
 void fetch(boolean isUID)
           
 void final_body_part(BodyPartRequest breq)
           
 java.util.List flags()
           
 AbstractImapCommand getCommand()
           
 void list()
           
 int literal()
           
 java.lang.String lname()
           
 void login()
           
 void lsub()
           
 void non_final_body_part(BodyPartRequest breq)
           
 antlr.Token pattern()
           
 MsgFilter range(boolean isUID)
           
 void rename()
           
 void resetState()
           
 AndSearchPart search_group(boolean isUID)
           
 DateArgSearchPart search_part_date_arg()
           
 NoArgSearchPart search_part_no_arg()
           
 NumberArgSearchPart search_part_num_arg()
           
 SearchPart search_part_other(boolean isUID)
           
 StringArgSearchPart search_part_str_arg()
           
 SearchPart search_part(boolean isUID)
           
 void search(boolean isUID)
           
 void select()
           
 void setEnvironment(Environment env)
           
 void status()
           
 void store(boolean isUID)
           
 void subscribe()
           
 antlr.Token tag()
           
 void uid()
           
 void unknown()
           
 void unsubscribe()
           
 
Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
 
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final java.lang.String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1
Constructor Detail

ImapCommandParser

protected ImapCommandParser(antlr.TokenBuffer tokenBuf,
                            int k)

ImapCommandParser

public ImapCommandParser(antlr.TokenBuffer tokenBuf)

ImapCommandParser

protected ImapCommandParser(antlr.TokenStream lexer,
                            int k)

ImapCommandParser

public ImapCommandParser(antlr.TokenStream lexer)

ImapCommandParser

public ImapCommandParser(antlr.ParserSharedInputState state)
Method Detail

getCommand

public AbstractImapCommand getCommand()

setEnvironment

public void setEnvironment(Environment env)

resetState

public void resetState()

command_line

public final void command_line()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

tag

public final antlr.Token tag()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

command

public final void command()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

unknown

public final void unknown()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

command_any

public final void command_any()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

command_auth

public final void command_auth()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

command_nonauth

public final void command_nonauth()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

astring

public final antlr.Token astring()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

lname

public final java.lang.String lname()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

pattern

public final antlr.Token pattern()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

range

public final MsgFilter range(boolean isUID)
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

flags

public final java.util.List flags()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

atom_list

public final java.util.List atom_list()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

literal

public final int literal()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

create

public final void create()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

delete

public final void delete()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

rename

public final void rename()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

subscribe

public final void subscribe()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

unsubscribe

public final void unsubscribe()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

list

public final void list()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

lsub

public final void lsub()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

examine

public final void examine()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

status

public final void status()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

select

public final void select()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

uid

public final void uid()
               throws antlr.RecognitionException,
                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

fetch

public final void fetch(boolean isUID)
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

copy

public final void copy(boolean isUID)
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

store

public final void store(boolean isUID)
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

search

public final void search(boolean isUID)
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

append

public final void append()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

expunge

public final void expunge()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

close

public final void close()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

search_group

public final AndSearchPart search_group(boolean isUID)
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

search_part

public final SearchPart search_part(boolean isUID)
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

search_part_no_arg

public final NoArgSearchPart search_part_no_arg()
                                         throws antlr.RecognitionException,
                                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

search_part_str_arg

public final StringArgSearchPart search_part_str_arg()
                                              throws antlr.RecognitionException,
                                                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

search_part_num_arg

public final NumberArgSearchPart search_part_num_arg()
                                              throws antlr.RecognitionException,
                                                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

search_part_date_arg

public final DateArgSearchPart search_part_date_arg()
                                             throws antlr.RecognitionException,
                                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

search_part_other

public final SearchPart search_part_other(boolean isUID)
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

fetch_part

public final void fetch_part(FetchCommand cmd)
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

body_part

public final void body_part(BodyPartRequest breq)
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

non_final_body_part

public final void non_final_body_part(BodyPartRequest breq)
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

final_body_part

public final void final_body_part(BodyPartRequest breq)
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

login

public final void login()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

authenticate

public final void authenticate()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

ePOST API

Copyright © 2001-2005 - Rice Pastry.