org.apache.jsieve.parser.generated
Class SieveParser

java.lang.Object
  extended by org.apache.jsieve.parser.generated.SieveParser
All Implemented Interfaces:
SieveParserConstants, SieveParserTreeConstants

public class SieveParser
extends java.lang.Object
implements SieveParserTreeConstants, SieveParserConstants


Field Summary
 Token jj_nt
          Next token.
protected  JJTSieveParserState jjtree
           
 Token token
          Current token.
 SieveParserTokenManager token_source
          Generated Token Manager.
 
Fields inherited from interface org.apache.jsieve.parser.generated.SieveParserTreeConstants
JJTARGUMENT, JJTARGUMENTS, JJTBLOCK, JJTCOMMAND, JJTCOMMANDS, jjtNodeName, JJTSTART, JJTSTRING, JJTSTRING_LIST, JJTTEST, JJTTEST_LIST
 
Fields inherited from interface org.apache.jsieve.parser.generated.SieveParserConstants
ALPHA, BRACKET_COMMENT, CHAR_NOT_DOT, CHAR_NOT_NEWLINE, DECIMAL_LITERAL, DEFAULT, DIGIT, EOF, EOF_HASH_COMMENT, HASH_COMMENT, IDENTIFIER, MULTI_LINE, MULTI_LINE_DOTSTUFF, MULTI_LINE_END, MULTI_LINE_LITERAL, MULTI_LINE_START, NEWLINE, NUMBER, QUANTIFIER, QUOTED_STRING, TAG, tokenImage
 
Constructor Summary
SieveParser(java.io.InputStream stream)
          Constructor with InputStream.
SieveParser(java.io.InputStream stream, java.lang.String encoding)
          Constructor with InputStream and supplied encoding
SieveParser(java.io.Reader stream)
          Constructor.
SieveParser(SieveParserTokenManager tm)
          Constructor with generated Token Manager.
 
Method Summary
 void argument()
           
 void arguments()
           
 void block()
           
 void command()
           
 void commands()
           
 void disable_tracing()
          Disable tracing.
 void enable_tracing()
          Enable tracing.
 ParseException generateParseException()
          Generate ParseException.
 Token getNextToken()
          Get the next Token.
 Token getToken(int index)
          Get the specific Token.
 void jjtreeCloseNodeScope(Node n)
           
 void jjtreeOpenNodeScope(Node n)
           
 void ReInit(java.io.InputStream stream)
          Reinitialise.
 void ReInit(java.io.InputStream stream, java.lang.String encoding)
          Reinitialise.
 void ReInit(java.io.Reader stream)
          Reinitialise.
 void ReInit(SieveParserTokenManager tm)
          Reinitialise.
 SimpleNode start()
          THE SIEVE LANGUAGE GRAMMAR STARTS HERE *
 void string_list()
           
 void string()
           
 void test_list()
           
 void test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jjtree

protected JJTSieveParserState jjtree

token_source

public SieveParserTokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

Constructor Detail

SieveParser

public SieveParser(java.io.InputStream stream)
Constructor with InputStream.


SieveParser

public SieveParser(java.io.InputStream stream,
                   java.lang.String encoding)
Constructor with InputStream and supplied encoding


SieveParser

public SieveParser(java.io.Reader stream)
Constructor.


SieveParser

public SieveParser(SieveParserTokenManager tm)
Constructor with generated Token Manager.

Method Detail

jjtreeOpenNodeScope

public void jjtreeOpenNodeScope(Node n)

jjtreeCloseNodeScope

public void jjtreeCloseNodeScope(Node n)

start

public final SimpleNode start()
                       throws ParseException
THE SIEVE LANGUAGE GRAMMAR STARTS HERE *

Throws:
ParseException

commands

public final void commands()
                    throws ParseException
Throws:
ParseException

command

public final void command()
                   throws ParseException
Throws:
ParseException

block

public final void block()
                 throws ParseException
Throws:
ParseException

arguments

public final void arguments()
                     throws ParseException
Throws:
ParseException

argument

public final void argument()
                    throws ParseException
Throws:
ParseException

test

public final void test()
                throws ParseException
Throws:
ParseException

test_list

public final void test_list()
                     throws ParseException
Throws:
ParseException

string

public final void string()
                  throws ParseException
Throws:
ParseException

string_list

public final void string_list()
                       throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)
Reinitialise.


ReInit

public void ReInit(java.io.InputStream stream,
                   java.lang.String encoding)
Reinitialise.


ReInit

public void ReInit(java.io.Reader stream)
Reinitialise.


ReInit

public void ReInit(SieveParserTokenManager tm)
Reinitialise.


getNextToken

public final Token getNextToken()
Get the next Token.


getToken

public final Token getToken(int index)
Get the specific Token.


generateParseException

public ParseException generateParseException()
Generate ParseException.


enable_tracing

public final void enable_tracing()
Enable tracing.


disable_tracing

public final void disable_tracing()
Disable tracing.



Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.