Class JspParserImpl


  • @Deprecated
    @Generated("org.javacc.javacc")
    public class JspParserImpl
    extends Object
    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 Detail

      • jjtree

        protected net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeBuilder<net.sourceforge.pmd.lang.jsp.ast.AbstractJspNode> jjtree
        Deprecated.
      • token_source

        public net.sourceforge.pmd.lang.jsp.ast.JspParserImplTokenManager token_source
        Deprecated.
        Generated net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken Manager.
      • token

        public net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken token
        Deprecated.
        Current token.
      • jj_nt

        public net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken jj_nt
        Deprecated.
        Next token.
      • JJTJSPDIRECTIVEATTRIBUTE

        public static final int JJTJSPDIRECTIVEATTRIBUTE
        See Also:
        Constant Field Values
      • JJTJSPEXPRESSIONINATTRIBUTE

        public static final int JJTJSPEXPRESSIONINATTRIBUTE
        See Also:
        Constant Field Values
      • jjtNodeName

        public static final String[] jjtNodeName
    • Constructor Detail

      • JspParserImpl

        public JspParserImpl​(net.sourceforge.pmd.lang.ast.impl.javacc.CharStream stream)
        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 Detail

      • CompilationUnit

        public final ASTCompilationUnit CompilationUnit()
                                                 throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        The root of the AST of a JSP.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • Prolog

        public final void Prolog()
                          throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        The optional prolog of a JSP, including (xml) declarations and DTD.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • Content

        public final void Content()
                           throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Everything between a start-tag and the corresponding end-tag of an element (if an end tag exists).
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • ContentElement

        public final void ContentElement()
                                  throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        A single (non-text) element that can occur between a start-tag and end-tag of an element.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • JspDirective

        public final void JspDirective()
                                throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • JspDirectiveAttribute

        public final void JspDirectiveAttribute()
                                         throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • JspScriptlet

        public final void JspScriptlet()
                                throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • JspExpression

        public final void JspExpression()
                                 throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • JspDeclaration

        public final void JspDeclaration()
                                  throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • JspComment

        public final void JspComment()
                              throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • Text

        public final void Text()
                        throws net.sourceforge.pmd.lang.ast.ParseException
        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:
        net.sourceforge.pmd.lang.ast.ParseException
      • UnparsedText

        public final String UnparsedText()
                                  throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • UnparsedTextNoWhitespace

        public final String UnparsedTextNoWhitespace()
                                              throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • UnparsedTextNoSingleQuotes

        public final String UnparsedTextNoSingleQuotes()
                                                throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Text that contains no single quotes, and that does not contain the start of a EL expression or value binding.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • UnparsedTextNoDoubleQuotes

        public final String UnparsedTextNoDoubleQuotes()
                                                throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Text that contains no double quotes, and that does not contain the start of a EL expression or value binding.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • ElExpression

        public final String ElExpression()
                                  throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        An EL expression, not within an attribute value.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • ValueBindingInAttribute

        public final String ValueBindingInAttribute()
                                             throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • ElExpressionInAttribute

        public final String ElExpressionInAttribute()
                                             throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • CData

        public final void CData()
                         throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • Element

        public final void Element()
                           throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        A XML element, either with a single empty tag, or with a starting and closing tag with optional contained content.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • Attribute

        public final void Attribute()
                             throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • AttributeValue

        public final void AttributeValue()
                                  throws net.sourceforge.pmd.lang.ast.ParseException
        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:
        net.sourceforge.pmd.lang.ast.ParseException
      • QuoteIndependentAttributeValueContent

        public final String QuoteIndependentAttributeValueContent()
                                                           throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Partial content of an attribute value that can contain all quotes. This groups EL expressions, value bindings, and JSP expressions.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • JspExpressionInAttribute

        public final String JspExpressionInAttribute()
                                              throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • CommentTag

        public final void CommentTag()
                              throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • Declaration

        public final void Declaration()
                               throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • DoctypeDeclaration

        public final void DoctypeDeclaration()
                                      throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • DoctypeExternalId

        public final void DoctypeExternalId()
                                     throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • HtmlScript

        public final void HtmlScript()
                              throws net.sourceforge.pmd.lang.ast.ParseException
        Deprecated.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • ReInit

        public void ReInit​(net.sourceforge.pmd.lang.ast.impl.javacc.CharStream stream)
        Deprecated.
        Reinitialise.
      • ReInit

        public void ReInit​(net.sourceforge.pmd.lang.jsp.ast.JspParserImplTokenManager tm)
        Deprecated.
        Reinitialise.
      • getNextToken

        public final net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken getNextToken()
        Deprecated.
        Get the next net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken.
      • getToken

        public final net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken getToken​(int index)
        Deprecated.
        Get the specific net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken.
      • generateParseException

        public net.sourceforge.pmd.lang.ast.ParseException 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.