VfParserConstants
, VfParserTreeConstants
public class VfParser extends java.lang.Object implements VfParserTreeConstants, VfParserConstants
Modifier and Type | Field | Description |
---|---|---|
Token |
jj_nt |
Next token.
|
protected JJTVfParserState |
jjtree |
|
Token |
token |
Current token.
|
VfParserTokenManager |
token_source |
Generated Token Manager.
|
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_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
JJTARGUMENTS, JJTATTRIBUTE, JJTATTRIBUTEVALUE, JJTCDATA, JJTCOMPILATIONUNIT, JJTCONTENT, JJTDECLARATION, JJTDOCTYPEDECLARATION, JJTDOCTYPEEXTERNALID, JJTDOTEXPRESSION, JJTELEMENT, JJTELEXPRESSION, JJTEXPRESSION, JJTHTMLSCRIPT, JJTIDENTIFIER, JJTLITERAL, JJTNEGATIONEXPRESSION, jjtNodeName, JJTTEXT, JJTVOID
Constructor | Description |
---|---|
VfParser(net.sourceforge.pmd.lang.ast.CharStream stream) |
Constructor with user supplied CharStream.
|
VfParser(VfParserTokenManager tm) |
Constructor with generated Token Manager.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AdditiveExpression() |
|
void |
ArgumentList() |
|
void |
Arguments() |
|
void |
AssignmentOperator() |
|
void |
Attribute() |
|
void |
AttributeValue() |
The value of an attribute of an element.
|
void |
Bom() |
|
java.lang.String |
BooleanLiteral() |
|
void |
CData() |
|
void |
CommentExpression() |
|
void |
CommentTag() |
|
ASTCompilationUnit |
CompilationUnit() |
The root of the AST of a VF.
|
void |
ConcatExpression() |
|
void |
ConditionalAndExpression() |
|
void |
ConditionalExpression() |
|
void |
ConditionalOrExpression() |
|
void |
Content() |
Everything between a start-tag and the corresponding end-tag of an element (if an end tag exists).
|
void |
ContentElement() |
A single (non-text) element that can occur between a start-tag and end-tag of an element.
|
void |
Declaration() |
|
void |
disable_tracing() |
Disable tracing.
|
void |
DoctypeDeclaration() |
|
void |
DoctypeExternalId() |
|
void |
DotExpression() |
|
void |
ELDQCommentExpression() |
|
void |
Element() |
A XML element, either with a single empty tag, or with a starting and closing tag
with optional contained content.
|
void |
ElExpression() |
An EL expression, not within an attribute value.
|
void |
ElExpressionInAttribute() |
|
void |
ElExpressionInScript() |
|
void |
ElOrText() |
This production groups all characters between two tags, where
tag is an xml-tag "<...>" or CDATA "<![CDATA[...]]>".
|
void |
ELSQCommentExpression() |
|
void |
enable_tracing() |
Enable tracing.
|
void |
EqualityExpression() |
|
void |
Expression() |
|
ParseException |
generateParseException() |
Generate ParseException.
|
Token |
getNextToken() |
Get the next Token.
|
Token |
getToken(int index) |
Get the specific Token.
|
void |
HtmlScript() |
|
void |
HtmlScriptContent() |
|
void |
Identifier() |
|
void |
Literal() |
|
void |
MultiplicativeExpression() |
|
void |
NegationExpression() |
|
java.lang.String |
NullLiteral() |
|
void |
PowerExpression() |
|
void |
PrimaryExpression() |
|
void |
PrimaryPrefix() |
|
void |
PrimarySuffix() |
|
void |
Prolog() |
The optional prolog of a VF, including (xml) declarations and DTD.
|
void |
ReInit(net.sourceforge.pmd.lang.ast.CharStream stream) |
Reinitialise.
|
void |
ReInit(VfParserTokenManager tm) |
Reinitialise.
|
void |
RelationalExpression() |
|
void |
Text() |
|
void |
UnaryExpression() |
|
void |
UnparsedTextNoDoubleQuotes() |
Text that contains no double quotes, and that does not contain the start
of a EL expression.
|
void |
UnparsedTextNoSingleQuotes() |
Text that contains no single quotes, and that does not contain the start
of a EL expression.
|
void |
UnparsedTextNoWhitespace() |
protected JJTVfParserState jjtree
public VfParserTokenManager token_source
public Token token
public Token jj_nt
public VfParser(net.sourceforge.pmd.lang.ast.CharStream stream)
public VfParser(VfParserTokenManager tm)
public final ASTCompilationUnit CompilationUnit() throws ParseException
ParseException
public final void Prolog() throws ParseException
ParseException
public final void Bom() throws ParseException
ParseException
public final void Content() throws ParseException
ParseException
public final void ContentElement() throws ParseException
ParseException
public final void ElOrText() throws ParseException
ParseException
public final void Text() throws ParseException
ParseException
public final void UnparsedTextNoWhitespace() throws ParseException
ParseException
public final void UnparsedTextNoSingleQuotes() throws ParseException
ParseException
public final void UnparsedTextNoDoubleQuotes() throws ParseException
ParseException
public final void ElExpression() throws ParseException
ParseException
public final void Expression() throws ParseException
ParseException
public final void AssignmentOperator() throws ParseException
ParseException
public final void ConditionalExpression() throws ParseException
ParseException
public final void ConditionalOrExpression() throws ParseException
ParseException
public final void ConditionalAndExpression() throws ParseException
ParseException
public final void PowerExpression() throws ParseException
ParseException
public final void ConcatExpression() throws ParseException
ParseException
public final void EqualityExpression() throws ParseException
ParseException
public final void RelationalExpression() throws ParseException
ParseException
public final void AdditiveExpression() throws ParseException
ParseException
public final void MultiplicativeExpression() throws ParseException
ParseException
public final void UnaryExpression() throws ParseException
ParseException
public final void PrimaryExpression() throws ParseException
ParseException
public final void ELSQCommentExpression() throws ParseException
ParseException
public final void ELDQCommentExpression() throws ParseException
ParseException
public final void CommentExpression() throws ParseException
ParseException
public final void PrimaryPrefix() throws ParseException
ParseException
public final void PrimarySuffix() throws ParseException
ParseException
public final void NegationExpression() throws ParseException
ParseException
public final void DotExpression() throws ParseException
ParseException
public final void Arguments() throws ParseException
ParseException
public final void ArgumentList() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final java.lang.String BooleanLiteral() throws ParseException
ParseException
public final java.lang.String NullLiteral() throws ParseException
ParseException
public final void Identifier() throws ParseException
ParseException
public final void ElExpressionInAttribute() throws ParseException
ParseException
public final void ElExpressionInScript() 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 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 final void HtmlScript() throws ParseException
ParseException
public final void HtmlScriptContent() throws ParseException
ParseException
public void ReInit(net.sourceforge.pmd.lang.ast.CharStream stream)
public void ReInit(VfParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2002–2018 PMD. All rights reserved.