Package net.sourceforge.pmd.lang.vf.ast
Class VfParser
- java.lang.Object
-
- net.sourceforge.pmd.lang.vf.ast.VfParser
-
- All Implemented Interfaces:
VfParserConstants
,VfParserTreeConstants
@Deprecated @InternalApi public class VfParser extends Object implements VfParserTreeConstants, VfParserConstants
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description Token
jj_nt
Deprecated.Next token.protected JJTVfParserState
jjtree
Deprecated.Token
token
Deprecated.Current token.VfParserTokenManager
token_source
Deprecated.Generated Token Manager.-
Fields inherited from interface net.sourceforge.pmd.lang.vf.ast.VfParserConstants
AfterTagState, ALPHA_CHAR, ALPHANUM_CHAR, AMP_AMP, ATTR_EQ, ATTR_NAME, AttrValueBetweenDoubleQuotesState, AttrValueBetweenSingleQuotesState, AttrValueNoQuotesState, AttrValueState, BYTE_ORDER_MARK, CDATA_END, CDATA_START, CDataState, CLOSEBRACE, COLON, COMMA, COMMENT_CLOSE_DQ, COMMENT_CLOSE_SCRIPT, COMMENT_CLOSE_SQ, COMMENT_END, COMMENT_INNER_TEXT_DQ, COMMENT_INNER_TEXT_SCRIPT, COMMENT_INNER_TEXT_SQ, COMMENT_OPEN_DQ, COMMENT_OPEN_SCRIPT, COMMENT_OPEN_SQ, COMMENT_START, COMMENT_TEXT, CommentState, COMMNT_END, COMMNT_START, CONCAT, CONCATEQ, DECL_END, DECL_START, DEFAULT, DIGITS, DIV, DIVEQ, DOCTYPE_DECL_END, DOCTYPE_DECL_START, DocTypeExternalIdState, DocTypeState, DOT, DOUBLE_EQ, DOUBLE_QUOTE, EL_EXPRESSION, EL_EXPRESSION_IN_ATTRIBUTE_DQ, EL_EXPRESSION_IN_ATTRIBUTE_NQ, EL_EXPRESSION_IN_ATTRIBUTE_SQ, EL_EXPRESSION_IN_SCRIPT, ElAttribTagStateDQ, ElAttribTagStateNQ, ElAttribTagStateSQ, ElInScriptState, ElTagState, END_OF_EL, END_OF_EL_ATTRIB_DQ, END_OF_EL_ATTRIB_NQ, END_OF_EL_ATTRIB_SQ, END_OF_EL_SCRIPT, ENDING_DOUBLE_QUOTE, ENDING_SINGLE_QUOTE, ENDING_WHITESPACE, ENDTAG_START, EOF, EQ, EXCL, EXP_DOT, FALSE, GE, GT, HTML_SCRIPT_CONTENT, HTML_SCRIPT_END_TAG, HTML_SCRIPT_START, HtmlScriptContentState, IDENTIFIER, IDENTIFIER_CHAR, IDENTIFIER_DOTTED, IDENTIFIER_EL, IN_ATTR_WHITESPACE, IN_TAG_ERROR, InlineCommentStateDQ, InlineCommentStateScript, InlineCommentStateSQ, InTagState, LE, LPAREN, LSQUARE, LST_ERROR, LT, MINUS, MINUSEQ, MUL, MULEQ, NAME, NEWLINE, NO_BANG, NO_ENDTAG_START, NO_LT_OR_OPENBRACE, NO_QUOTE_NO_WHITESPACE, NO_WHITESPACE_OR_LT_OR_DOLLAR, NOT_EQ, NULL, NUM_CHAR, OPENBRACE, PERCENT, PIPE_PIPE, PLUS, PLUSEQ, POW, PUBLIC, QQ, QUOTE, QUOTED_LITERAL, QUOTED_STRING, QUOTED_STRING_NO_BREAKS, RPAREN, RSQUARE, SINGLE_QUOTE, StartTagState, STRING_LITERAL, SYSTEM, TAG_END, TAG_NAME, TAG_SLASHEND, TAG_START, TEXT_IN_EL, tokenImage, TRUE, UNPARSED, UNPARSED_TEXT, UNPARSED_TEXT_NO_DOUBLE_QUOTES, UNPARSED_TEXT_NO_SINGLE_QUOTES, UNPARSED_TEXT_NO_WHITESPACE, WHITESPACE, WHITESPACES, XMLNAME
-
Fields inherited from interface net.sourceforge.pmd.lang.vf.ast.VfParserTreeConstants
JJTARGUMENTS, JJTATTRIBUTE, JJTATTRIBUTEVALUE, JJTCDATA, JJTCOMPILATIONUNIT, JJTCONTENT, JJTDECLARATION, JJTDOCTYPEDECLARATION, JJTDOCTYPEEXTERNALID, JJTDOTEXPRESSION, JJTELEMENT, JJTELEXPRESSION, JJTEXPRESSION, JJTHTMLSCRIPT, JJTIDENTIFIER, JJTLITERAL, JJTNEGATIONEXPRESSION, jjtNodeName, JJTTEXT, JJTVOID
-
-
Constructor Summary
Constructors Constructor Description VfParser(CharStream stream)
Deprecated.Constructor with user supplied CharStream.VfParser(VfParserTokenManager tm)
Deprecated.Constructor with generated Token Manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
AdditiveExpression()
Deprecated.void
ArgumentList()
Deprecated.void
Arguments()
Deprecated.void
AssignmentOperator()
Deprecated.void
Attribute()
Deprecated.void
AttributeValue()
Deprecated.The value of an attribute of an element.void
Bom()
Deprecated.String
BooleanLiteral()
Deprecated.void
CData()
Deprecated.void
CommentExpression()
Deprecated.void
CommentTag()
Deprecated.ASTCompilationUnit
CompilationUnit()
Deprecated.The root of the AST of a VF.void
ConcatExpression()
Deprecated.void
ConditionalAndExpression()
Deprecated.void
ConditionalExpression()
Deprecated.void
ConditionalOrExpression()
Deprecated.void
Content()
Deprecated.Everything between a start-tag and the corresponding end-tag of an element (if an end tag exists).void
ContentElement()
Deprecated.A single (non-text) element that can occur between a start-tag and end-tag of an element.void
Declaration()
Deprecated.void
disable_tracing()
Deprecated.Disable tracing.void
DoctypeDeclaration()
Deprecated.void
DoctypeExternalId()
Deprecated.void
DotExpression()
Deprecated.void
ELDQCommentExpression()
Deprecated.void
Element()
Deprecated.A XML element, either with a single empty tag, or with a starting and closing tag with optional contained content.void
ElExpression()
Deprecated.An EL expression, not within an attribute value.void
ElExpressionInAttribute()
Deprecated.void
ElExpressionInScript()
Deprecated.void
ElOrText()
Deprecated.This production groups all characters between two tags, where tag is an xml-tag "<...>" or CDATA "<![CDATA[...]]>".void
ELSQCommentExpression()
Deprecated.void
enable_tracing()
Deprecated.Enable tracing.void
EqualityExpression()
Deprecated.void
Expression()
Deprecated.ParseException
generateParseException()
Deprecated.Generate ParseException.Token
getNextToken()
Deprecated.Get the next Token.Token
getToken(int index)
Deprecated.Get the specific Token.void
HtmlScript()
Deprecated.void
HtmlScriptContent()
Deprecated.void
Identifier()
Deprecated.void
Literal()
Deprecated.void
MultiplicativeExpression()
Deprecated.void
NegationExpression()
Deprecated.String
NullLiteral()
Deprecated.void
PowerExpression()
Deprecated.void
PrimaryExpression()
Deprecated.void
PrimaryPrefix()
Deprecated.void
PrimarySuffix()
Deprecated.void
Prolog()
Deprecated.The optional prolog of a VF, including (xml) declarations and DTD.void
ReInit(CharStream stream)
Deprecated.Reinitialise.void
ReInit(VfParserTokenManager tm)
Deprecated.Reinitialise.void
RelationalExpression()
Deprecated.void
Text()
Deprecated.void
UnaryExpression()
Deprecated.void
UnparsedTextNoDoubleQuotes()
Deprecated.Text that contains no double quotes, and that does not contain the start of a EL expression.void
UnparsedTextNoSingleQuotes()
Deprecated.Text that contains no single quotes, and that does not contain the start of a EL expression.void
UnparsedTextNoWhitespace()
Deprecated.
-
-
-
Field Detail
-
jjtree
protected JJTVfParserState jjtree
Deprecated.
-
token_source
public VfParserTokenManager token_source
Deprecated.Generated Token Manager.
-
token
public Token token
Deprecated.Current token.
-
jj_nt
public Token jj_nt
Deprecated.Next token.
-
-
Constructor Detail
-
VfParser
public VfParser(CharStream stream)
Deprecated.Constructor with user supplied CharStream.
-
VfParser
public VfParser(VfParserTokenManager tm)
Deprecated.Constructor with generated Token Manager.
-
-
Method Detail
-
CompilationUnit
public final ASTCompilationUnit CompilationUnit() throws ParseException
Deprecated.The root of the AST of a VF.- Throws:
ParseException
-
Prolog
public final void Prolog() throws ParseException
Deprecated.The optional prolog of a VF, including (xml) declarations and DTD.- Throws:
ParseException
-
Bom
public final void Bom() throws ParseException
Deprecated.- 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
-
ElOrText
public final void ElOrText() throws ParseException
Deprecated.This production groups all characters between two tags, where tag is an xml-tag "<...>" or CDATA "<![CDATA[...]]>". Text consists of unparsed text and/or Expression Language expressions.- Throws:
ParseException
-
Text
public final void Text() throws ParseException
Deprecated.- Throws:
ParseException
-
UnparsedTextNoWhitespace
public final void UnparsedTextNoWhitespace() throws ParseException
Deprecated.- Throws:
ParseException
-
UnparsedTextNoSingleQuotes
public final void UnparsedTextNoSingleQuotes() throws ParseException
Deprecated.Text that contains no single quotes, and that does not contain the start of a EL expression.- Throws:
ParseException
-
UnparsedTextNoDoubleQuotes
public final void UnparsedTextNoDoubleQuotes() throws ParseException
Deprecated.Text that contains no double quotes, and that does not contain the start of a EL expression.- Throws:
ParseException
-
ElExpression
public final void ElExpression() throws ParseException
Deprecated.An EL expression, not within an attribute value.- Throws:
ParseException
-
Expression
public final void Expression() throws ParseException
Deprecated.- Throws:
ParseException
-
AssignmentOperator
public final void AssignmentOperator() throws ParseException
Deprecated.- Throws:
ParseException
-
ConditionalExpression
public final void ConditionalExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
ConditionalOrExpression
public final void ConditionalOrExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
ConditionalAndExpression
public final void ConditionalAndExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
PowerExpression
public final void PowerExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
ConcatExpression
public final void ConcatExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
EqualityExpression
public final void EqualityExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
RelationalExpression
public final void RelationalExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
AdditiveExpression
public final void AdditiveExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
MultiplicativeExpression
public final void MultiplicativeExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
UnaryExpression
public final void UnaryExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
PrimaryExpression
public final void PrimaryExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
ELSQCommentExpression
public final void ELSQCommentExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
ELDQCommentExpression
public final void ELDQCommentExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
CommentExpression
public final void CommentExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
PrimaryPrefix
public final void PrimaryPrefix() throws ParseException
Deprecated.- Throws:
ParseException
-
PrimarySuffix
public final void PrimarySuffix() throws ParseException
Deprecated.- Throws:
ParseException
-
NegationExpression
public final void NegationExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
DotExpression
public final void DotExpression() throws ParseException
Deprecated.- Throws:
ParseException
-
Arguments
public final void Arguments() throws ParseException
Deprecated.- Throws:
ParseException
-
ArgumentList
public final void ArgumentList() throws ParseException
Deprecated.- Throws:
ParseException
-
Literal
public final void Literal() throws ParseException
Deprecated.- Throws:
ParseException
-
BooleanLiteral
public final String BooleanLiteral() throws ParseException
Deprecated.- Throws:
ParseException
-
NullLiteral
public final String NullLiteral() throws ParseException
Deprecated.- Throws:
ParseException
-
Identifier
public final void Identifier() throws ParseException
Deprecated.- Throws:
ParseException
-
ElExpressionInAttribute
public final void ElExpressionInAttribute() throws ParseException
Deprecated.- Throws:
ParseException
-
ElExpressionInScript
public final void ElExpressionInScript() 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 are parsed as sub-nodes of the AttributeValue node.- 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
-
HtmlScriptContent
public final void HtmlScriptContent() throws ParseException
Deprecated.- Throws:
ParseException
-
ReInit
public void ReInit(CharStream stream)
Deprecated.Reinitialise.
-
ReInit
public void ReInit(VfParserTokenManager tm)
Deprecated.Reinitialise.
-
getNextToken
public final Token getNextToken()
Deprecated.Get the next Token.
-
getToken
public final Token getToken(int index)
Deprecated.Get the specific Token.
-
generateParseException
public ParseException generateParseException()
Deprecated.Generate ParseException.
-
enable_tracing
public final void enable_tracing()
Deprecated.Enable tracing.
-
disable_tracing
public final void disable_tracing()
Deprecated.Disable tracing.
-
-