jrun.jsp.parser
Class JSPParser

java.lang.Object
  |
  +--jrun.jsp.parser.JSPParserBase
        |
        +--jrun.jsp.parser.JSPParser
All Implemented Interfaces:
JSPParserConstants, JSPParserTreeConstants

public class JSPParser
extends JSPParserBase
implements JSPParserTreeConstants, JSPParserConstants


Inner classes inherited from class jrun.jsp.parser.JSPParserBase
JSPParserBase.BadEncodingException, JSPParserBase.TwoDifferentContentTypesSpecified
 
Field Summary
 Token jj_nt
           
protected  jrun.jsp.parser.JJTJSPParserState jjtree
           
 boolean lookingAhead
           
 Token token
           
 JSPParserTokenManager token_source
           
 
Fields inherited from class jrun.jsp.parser.JSPParserBase
tc
 
Fields inherited from interface jrun.jsp.parser.JSPParserTreeConstants
JJTACDATA, JJTARTEXPR, JJTATTRIBUTE, JJTATTRIBUTE_VALUE, JJTCOMMENT, JJTDECLARATION, JJTDIRECTIVE, JJTDIRECTIVE_TYPE, JJTEMPTY_TAG_CLOSE, JJTEND_TAG, JJTEXPRESSION, JJTJSP, jjtNodeName, JJTPASS, JJTQCDATA, JJTQRTEXPR, JJTSCRIPTLET, JJTSTART_TAG, JJTSTART_TAG_CLOSE
 
Fields inherited from interface jrun.jsp.parser.JSPParserConstants
A_EQ, A_NAME, A_WS, ACDATA, ALPHA, ALPHANUM, APOS, ARTEXPR, ARTEXPR_BODY, ATTCOMM, ATTLIST, ATTRVAL, AV_WS, BODY, CANT_BE_AFTER_TAGNAME, COMMENT, COMMENT_END, COMMENT_START, D_WS, DECLARATION, DEFAULT, DIRECTIVE, DIRECTIVE_TYPE, EMPTY_TAGC, END_APOS, END_ARTEXPR, END_JSP_TAG, END_QRTEXPR, END_QUOTE, EOF, ETAGO, EXPRESSION, FIND_APOS, FIND_ARTEXPR, FIND_QRTEXPR, FIND_QUOTE, IGNORED, IN_DIRECTIVE, IN_JSP_TAG, JSP_TAGC, MISC, NUM, PASS, QCDATA, QRTEXPR, QRTEXPR_BODY, QUOTE, SCRIPTLET, STAGO, TAG, TAG_NAME, TAGC, TNAME, tokenImage, WS
 
Constructor Summary
JSPParser(CharStream stream)
           
JSPParser(JSPParserTokenManager tm)
           
JSPParser(java.io.Reader r, TranslationContext tc)
           
 
Method Summary
 SimpleNode acdata()
           
 SimpleNode artexpr()
           
 SimpleNode attribute_value()
           
 SimpleNode attribute()
           
 SimpleNode comment()
           
 SimpleNode declaration()
           
 SimpleNode directive_type()
           
 SimpleNode directive()
           
 void disable_tracing()
           
 SimpleNode empty_tag_close()
           
 void enable_tracing()
           
 SimpleNode end_tag()
           
 SimpleNode expression()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 SimpleNode jsp()
          The Parser
 SimpleNode pass()
           
 SimpleNode qcdata()
           
 SimpleNode qrtexpr()
           
 void ReInit(CharStream stream)
           
 void ReInit(JSPParserTokenManager tm)
           
 SimpleNode scriptlet()
           
 SimpleNode start_tag_close()
           
 SimpleNode start_tag()
           
 
Methods inherited from class jrun.jsp.parser.JSPParserBase
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jjtree

protected jrun.jsp.parser.JJTJSPParserState jjtree

token_source

public JSPParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt

lookingAhead

public boolean lookingAhead
Constructor Detail

JSPParser

public JSPParser(java.io.Reader r,
                 TranslationContext tc)

JSPParser

public JSPParser(CharStream stream)

JSPParser

public JSPParser(JSPParserTokenManager tm)
Method Detail

jsp

public final SimpleNode jsp()
                     throws ParseException,
                            WrongContentTypeException
The Parser

directive

public final SimpleNode directive()
                           throws ParseException,
                                  WrongContentTypeException

directive_type

public final SimpleNode directive_type()
                                throws ParseException

expression

public final SimpleNode expression()
                            throws ParseException

scriptlet

public final SimpleNode scriptlet()
                           throws ParseException

declaration

public final SimpleNode declaration()
                             throws ParseException

start_tag

public final SimpleNode start_tag()
                           throws ParseException

start_tag_close

public final SimpleNode start_tag_close()
                                 throws ParseException

empty_tag_close

public final SimpleNode empty_tag_close()
                                 throws ParseException

end_tag

public final SimpleNode end_tag()
                         throws ParseException

attribute

public final SimpleNode attribute()
                           throws ParseException

attribute_value

public final SimpleNode attribute_value()
                                 throws ParseException

qcdata

public final SimpleNode qcdata()
                        throws ParseException

acdata

public final SimpleNode acdata()
                        throws ParseException

qrtexpr

public final SimpleNode qrtexpr()
                         throws ParseException

artexpr

public final SimpleNode artexpr()
                         throws ParseException

pass

public final SimpleNode pass()
                      throws ParseException

comment

public final SimpleNode comment()
                         throws ParseException

ReInit

public void ReInit(CharStream stream)

ReInit

public void ReInit(JSPParserTokenManager tm)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

generateParseException

public final ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()


Copyright � 2002 Macromedia Corporation. All Rights Reserved.