|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.jsp.ast.JspParser
Nested Class Summary | |
(package private) static class |
JspParser.JJCalls
|
Field Summary | |
Token |
jj_nt
|
protected JJTJspParserState |
jjtree
|
boolean |
lookingAhead
|
Token |
token
|
JspParserTokenManager |
token_source
|
Fields inherited from interface net.sourceforge.pmd.jsp.ast.JspParserTreeConstants |
JJTATTRIBUTE, JJTATTRIBUTEVALUE, JJTCDATA, JJTCOMMENTTAG, JJTCOMPILATIONUNIT, JJTCONTENT, JJTDECLARATION, JJTDOCTYPEDECLARATION, JJTDOCTYPEEXTERNALID, JJTELEMENT, JJTELEXPRESSION, JJTJSPCOMMENT, JJTJSPDECLARATION, JJTJSPDIRECTIVE, JJTJSPDIRECTIVEATTRIBUTE, JJTJSPEXPRESSION, JJTJSPEXPRESSIONINATTRIBUTE, JJTJSPSCRIPTLET, jjtNodeName, JJTTEXT, JJTUNPARSEDTEXT, JJTVALUEBINDING, JJTVOID |
Constructor Summary | |
JspParser(CharStream stream)
|
|
JspParser(JspParserTokenManager tm)
|
Method Summary | |
void |
Attribute()
|
void |
AttributeValue()
The value of an attribute of an element. |
void |
CData()
|
void |
CommentTag()
|
ASTCompilationUnit |
CompilationUnit()
The root of the AST of a JSP. |
void |
Content()
Everything between a start-tag and the corresponding end-tag of an element. |
void |
ContentElementPossiblyWithText()
A single (non-text) element that can occur between a start- and end-tag of an element. |
void |
Declaration()
|
void |
disable_tracing()
|
void |
DoctypeDeclaration()
|
void |
DoctypeExternalId()
|
void |
Element()
A XML element, either with a single empty tag, or with a starting and closing tag with optional contained content. |
java.lang.String |
ElExpression()
An EL expression, not within an attribute value. |
java.lang.String |
ElExpressionInAttribute()
|
void |
enable_tracing()
|
ParseException |
generateParseException()
|
Token |
getNextToken()
|
Token |
getToken(int index)
|
void |
JspComment()
|
void |
JspDeclaration()
|
void |
JspDirective()
|
void |
JspDirectiveAttribute()
|
void |
JspExpression()
|
java.lang.String |
JspExpressionInAttribute()
|
void |
JspScriptlet()
|
void |
Prolog()
The optional prolog of a JSP, including (xml) declarations and DTD. |
java.lang.String |
QuoteIndependentAttributeValueContent()
Partial content of an attribute value that can contain all quotes. |
void |
ReInit(CharStream stream)
|
void |
ReInit(JspParserTokenManager tm)
|
void |
Text()
This production groups all characters between two tags, where tag is an xml-tag "<...>" or a jsp-page-tag "<%...%>" or CDATA "". |
java.lang.String |
UnparsedText()
|
java.lang.String |
UnparsedTextNoDoubleQuotes()
Text that contains no double quotes, and that does not contain the start of a EL expression or value binding. |
java.lang.String |
UnparsedTextNoSingleQuotes()
Text that contains no single quotes, and that does not contain the start of a EL expression or value binding. |
java.lang.String |
ValueBindingInAttribute()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected JJTJspParserState jjtree
public JspParserTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
Constructor Detail |
public JspParser(CharStream stream)
public JspParser(JspParserTokenManager tm)
Method Detail |
public final ASTCompilationUnit CompilationUnit() throws ParseException
ParseException
public final void Prolog() throws ParseException
ParseException
public final void Content() throws ParseException
ParseException
public final void ContentElementPossiblyWithText() throws ParseException
ParseException
public final void JspDirective() throws ParseException
ParseException
public final void JspDirectiveAttribute() throws ParseException
ParseException
public final void JspScriptlet() throws ParseException
ParseException
public final void JspExpression() throws ParseException
ParseException
public final void JspDeclaration() throws ParseException
ParseException
public final void JspComment() throws ParseException
ParseException
public final void Text() throws ParseException
ParseException
public final java.lang.String UnparsedText() throws ParseException
ParseException
public final java.lang.String UnparsedTextNoSingleQuotes() throws ParseException
ParseException
public final java.lang.String UnparsedTextNoDoubleQuotes() throws ParseException
ParseException
public final java.lang.String ElExpression() throws ParseException
ParseException
public final java.lang.String ValueBindingInAttribute() throws ParseException
ParseException
public final java.lang.String ElExpressionInAttribute() throws ParseException
ParseException
public final void CData() throws ParseException
ParseException
public final void Element() throws ParseException
ParseException
public final void Attribute() throws ParseException
ParseException
public final void AttributeValue() throws ParseException
ParseException
public final java.lang.String QuoteIndependentAttributeValueContent() throws ParseException
ParseException
public final java.lang.String JspExpressionInAttribute() throws ParseException
ParseException
public final void CommentTag() throws ParseException
ParseException
public final void Declaration() throws ParseException
ParseException
public final void DoctypeDeclaration() throws ParseException
ParseException
public final void DoctypeExternalId() throws ParseException
ParseException
public void ReInit(CharStream stream)
public void ReInit(JspParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |