Class JspParserImpl

java.lang.Object
net.sourceforge.pmd.lang.jsp.ast.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 Details

  • Constructor Details

    • JspParserImpl

      public JspParserImpl(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 Details

    • CompilationUnit

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

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

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

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

      public final void JspDirective() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • JspDirectiveAttribute

      public final void JspDirectiveAttribute() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • JspScriptlet

      public final void JspScriptlet() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • JspExpression

      public final void JspExpression() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • JspDeclaration

      public final void JspDeclaration() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • JspComment

      public final void JspComment() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • Text

      public final void Text() throws 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:
      ParseException
    • UnparsedText

      public final String UnparsedText() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • UnparsedTextNoWhitespace

      public final String UnparsedTextNoWhitespace() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • UnparsedTextNoSingleQuotes

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

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

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

      public final String ValueBindingInAttribute() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • ElExpressionInAttribute

      public final String ElExpressionInAttribute() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • CData

      public final void CData() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • Element

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

      public final void Attribute() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • AttributeValue

      public final void AttributeValue() throws 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:
      ParseException
    • QuoteIndependentAttributeValueContent

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

      public final String JspExpressionInAttribute() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • CommentTag

      public final void CommentTag() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • Declaration

      public final void Declaration() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • DoctypeDeclaration

      public final void DoctypeDeclaration() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • DoctypeExternalId

      public final void DoctypeExternalId() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • HtmlScript

      public final void HtmlScript() throws ParseException
      Deprecated.
      Throws:
      ParseException
    • ReInit

      public void ReInit(CharStream stream)
      Deprecated.
      Reinitialise.
    • ReInit

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

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

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

      public 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.