Package net.sourceforge.pmd.lang.jsp.ast
Class JspParserImpl
java.lang.Object
net.sourceforge.pmd.lang.jsp.ast.JspParserImpl
Deprecated.
Since 7.5.0. JspParserImpl should have been package private because this is an implementation class
that should not be used directly.
JSP Parser for PMD.
- Author:
- Pieter, Application Engineers NV/SA, http://www.ae.be
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.Next token.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final String[]protected JjtreeBuilder<net.sourceforge.pmd.lang.jsp.ast.AbstractJspNode>Deprecated.static final intstatic final intstatic final intstatic final intDeprecated.Current token.net.sourceforge.pmd.lang.jsp.ast.JspParserImplTokenManagerDeprecated.Generated net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken Manager. -
Constructor Summary
ConstructorsConstructorDescriptionJspParserImpl(CharStream stream) Deprecated.Constructor with user supplied net.sourceforge.pmd.lang.ast.impl.javacc.CharStream.JspParserImpl(net.sourceforge.pmd.lang.jsp.ast.JspParserImplTokenManager tm) Deprecated.Constructor with generated net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidDeprecated.final voidDeprecated.The value of an attribute of an element.final voidCData()Deprecated.final voidDeprecated.final ASTCompilationUnitDeprecated.The root of the AST of a JSP.final voidContent()Deprecated.Everything between a start-tag and the corresponding end-tag of an element (if an end tag exists).final voidDeprecated.A single (non-text) element that can occur between a start-tag and end-tag of an element.final voidDeprecated.final voidDeprecated.Disable tracing.final voidDeprecated.final voidDeprecated.final voidElement()Deprecated.A XML element, either with a single empty tag, or with a starting and closing tag with optional contained content.final StringDeprecated.An EL expression, not within an attribute value.final StringDeprecated.final voidDeprecated.Enable tracing.Deprecated.Generate net.sourceforge.pmd.lang.ast.ParseException.final JavaccTokenDeprecated.Get the next net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken.final JavaccTokengetToken(int index) Deprecated.Get the specific net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken.final voidDeprecated.final voidDeprecated.final voidDeprecated.final voidDeprecated.final voidDeprecated.final voidDeprecated.final StringDeprecated.final voidDeprecated.final voidProlog()Deprecated.The optional prolog of a JSP, including (xml) declarations and DTD.final StringDeprecated.Partial content of an attribute value that can contain all quotes.voidReInit(CharStream stream) Deprecated.Reinitialise.voidReInit(net.sourceforge.pmd.lang.jsp.ast.JspParserImplTokenManager tm) Deprecated.Reinitialise.final voidText()Deprecated.This production groups all characters between two tags, where tag is an xml-tag "<...>" or a jsp-page-tag "<%final StringDeprecated.final StringDeprecated.Text that contains no double quotes, and that does not contain the start of a EL expression or value binding.final StringDeprecated.Text that contains no single quotes, and that does not contain the start of a EL expression or value binding.final StringDeprecated.final StringDeprecated.
-
Field Details
-
jjtree
Deprecated. -
token_source
public net.sourceforge.pmd.lang.jsp.ast.JspParserImplTokenManager token_sourceDeprecated.Generated net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken Manager. -
token
Deprecated.Current token. -
jj_nt
Deprecated.Next token. -
JJTCOMPILATIONUNIT
static final int JJTCOMPILATIONUNIT- See Also:
-
JJTVOID
static final int JJTVOID- See Also:
-
JJTCONTENT
static final int JJTCONTENT- See Also:
-
JJTJSPDIRECTIVE
static final int JJTJSPDIRECTIVE- See Also:
-
JJTJSPDIRECTIVEATTRIBUTE
static final int JJTJSPDIRECTIVEATTRIBUTE- See Also:
-
JJTJSPSCRIPTLET
static final int JJTJSPSCRIPTLET- See Also:
-
JJTJSPEXPRESSION
static final int JJTJSPEXPRESSION- See Also:
-
JJTJSPDECLARATION
static final int JJTJSPDECLARATION- See Also:
-
JJTJSPCOMMENT
static final int JJTJSPCOMMENT- See Also:
-
JJTTEXT
static final int JJTTEXT- See Also:
-
JJTUNPARSEDTEXT
static final int JJTUNPARSEDTEXT- See Also:
-
JJTELEXPRESSION
static final int JJTELEXPRESSION- See Also:
-
JJTVALUEBINDING
static final int JJTVALUEBINDING- See Also:
-
JJTCDATA
static final int JJTCDATA- See Also:
-
JJTELEMENT
static final int JJTELEMENT- See Also:
-
JJTATTRIBUTE
static final int JJTATTRIBUTE- See Also:
-
JJTATTRIBUTEVALUE
static final int JJTATTRIBUTEVALUE- See Also:
-
JJTJSPEXPRESSIONINATTRIBUTE
static final int JJTJSPEXPRESSIONINATTRIBUTE- See Also:
-
JJTCOMMENTTAG
static final int JJTCOMMENTTAG- See Also:
-
JJTDECLARATION
static final int JJTDECLARATION- See Also:
-
JJTDOCTYPEDECLARATION
static final int JJTDOCTYPEDECLARATION- See Also:
-
JJTDOCTYPEEXTERNALID
static final int JJTDOCTYPEEXTERNALID- See Also:
-
JJTHTMLSCRIPT
static final int JJTHTMLSCRIPT- See Also:
-
jjtNodeName
-
-
Constructor Details
-
JspParserImpl
Deprecated.Constructor with user supplied net.sourceforge.pmd.lang.ast.impl.javacc.CharStream. -
JspParserImpl
public JspParserImpl(net.sourceforge.pmd.lang.jsp.ast.JspParserImplTokenManager tm) Deprecated.Constructor with generated net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken Manager.
-
-
Method Details
-
CompilationUnit
Deprecated.The root of the AST of a JSP.- Throws:
ParseException
-
Prolog
Deprecated.The optional prolog of a JSP, including (xml) declarations and DTD.- Throws:
ParseException
-
Content
Deprecated.Everything between a start-tag and the corresponding end-tag of an element (if an end tag exists).- Throws:
ParseException
-
ContentElement
Deprecated.A single (non-text) element that can occur between a start-tag and end-tag of an element.- Throws:
ParseException
-
JspDirective
Deprecated.- Throws:
ParseException
-
JspDirectiveAttribute
Deprecated.- Throws:
ParseException
-
JspScriptlet
Deprecated.- Throws:
ParseException
-
JspExpression
Deprecated.- Throws:
ParseException
-
JspDeclaration
Deprecated.- Throws:
ParseException
-
JspComment
Deprecated.- Throws:
ParseException
-
Text
Deprecated.This production groups all characters between two tags, where tag is an xml-tag "<...>" or a jsp-page-tag "<%...%>" or CDATA "<![CDATA[...]]>". Text consists of unparsed text and/or Expression Language expressions.- Throws:
ParseException
-
UnparsedText
Deprecated.- Throws:
ParseException
-
UnparsedTextNoWhitespace
Deprecated.- Throws:
ParseException
-
UnparsedTextNoSingleQuotes
Deprecated.Text that contains no single quotes, and that does not contain the start of a EL expression or value binding.- Throws:
ParseException
-
UnparsedTextNoDoubleQuotes
Deprecated.Text that contains no double quotes, and that does not contain the start of a EL expression or value binding.- Throws:
ParseException
-
ElExpression
Deprecated.An EL expression, not within an attribute value.- Throws:
ParseException
-
ValueBindingInAttribute
Deprecated.- Throws:
ParseException
-
ElExpressionInAttribute
Deprecated.- Throws:
ParseException
-
CData
Deprecated.- Throws:
ParseException
-
Element
Deprecated.A XML element, either with a single empty tag, or with a starting and closing tag with optional contained content.- Throws:
ParseException
-
Attribute
Deprecated.- Throws:
ParseException
-
AttributeValue
Deprecated.The value of an attribute of an element. EL expressions, JSF value bindings, and JSP expressions are parsed as sub-nodes of the AttributeValue node.- Throws:
ParseException
-
QuoteIndependentAttributeValueContent
Deprecated.Partial content of an attribute value that can contain all quotes. This groups EL expressions, value bindings, and JSP expressions.- Throws:
ParseException
-
JspExpressionInAttribute
Deprecated.- Throws:
ParseException
-
CommentTag
Deprecated.- Throws:
ParseException
-
Declaration
Deprecated.- Throws:
ParseException
-
DoctypeDeclaration
Deprecated.- Throws:
ParseException
-
DoctypeExternalId
Deprecated.- Throws:
ParseException
-
HtmlScript
Deprecated.- Throws:
ParseException
-
ReInit
Deprecated.Reinitialise. -
ReInit
public void ReInit(net.sourceforge.pmd.lang.jsp.ast.JspParserImplTokenManager tm) Deprecated.Reinitialise. -
getNextToken
Deprecated.Get the next net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken. -
getToken
Deprecated.Get the specific net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken. -
generateParseException
Deprecated.Generate net.sourceforge.pmd.lang.ast.ParseException. -
enable_tracing
public final void enable_tracing()Deprecated.Enable tracing. -
disable_tracing
public final void disable_tracing()Deprecated.Disable tracing.
-