Class JavaScriptScanner
java.lang.Object
gw.gosudoc.com.sun.tools.javadoc.main.JavaScriptScanner
Deprecated.
Parser to detect use of JavaScript in documentation comments.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidattrValueChar(Void list) Deprecated.protected voidDeprecated.Read block content, consisting of text, html and inline tags.protected voidblockTag()Deprecated.Read a single block tag, including its content.protected voidDeprecated.Read a series of block tags, including their content.protected voidentity()Deprecated.Read an HTML entity.protected voidDeprecated.protected voidhtml()Deprecated.Read the start or end of an HTML tag, or an HTML comment <identifier attrs> or </identifier>protected voidDeprecated.Read a series of HTML attributes, terminated by > .protected voidDeprecated.Read Java identifier Matching pairs of { } are skipped; the text is terminated by the first unmatched }.protected voidDeprecated.Read a single inline tag, including its content.protected voidDeprecated.protected voidDeprecated.Read a term ie. one word.protected booleanisDecimalDigit(char ch) Deprecated.protected booleanisHexDigit(char ch) Deprecated.protected booleanisIdentifierStart(char ch) Deprecated.protected booleanisJavaIdentifierStart(char ch) Deprecated.protected booleanisUnquotedAttrValueTerminator(char ch) Deprecated.protected booleanisWhitespace(char ch) Deprecated.voidparse(String comment, JavaScriptScanner.Reporter r) Deprecated.protected voidDeprecated.Read a quoted string.protected StringDeprecated.protected StringDeprecated.protected StringDeprecated.protected StringDeprecated.protected voidreference(boolean allowMember) Deprecated.Read Java class name, possibly followed by member Matching pairs of < > are skipped.protected voidDeprecated.
-
Field Details
-
buf
protected char[] bufDeprecated.The input buffer, index of most recent character read, index of one past last character in buffer. -
bp
protected int bpDeprecated. -
buflen
protected int buflenDeprecated. -
ch
protected char chDeprecated.The current character.
-
-
Constructor Details
-
JavaScriptScanner
public JavaScriptScanner()Deprecated.
-
-
Method Details
-
parse
Deprecated. -
blockContent
protected void blockContent()Deprecated.Read block content, consisting of text, html and inline tags. Terminated by the end of input, or the beginning of the next block tag: i.e. @ as the first non-whitespace character on a line. -
blockTags
protected void blockTags()Deprecated.Read a series of block tags, including their content. Standard tags parse their content appropriately. Non-standard tags are represented by.invalid reference
UnknownBlockTag -
blockTag
protected void blockTag()Deprecated.Read a single block tag, including its content. Standard tags parse their content appropriately. Non-standard tags are represented by.invalid reference
UnknownBlockTag -
inlineTag
Deprecated. -
inlineTag
protected void inlineTag()Deprecated.Read a single inline tag, including its content. Standard tags parse their content appropriately. Non-standard tags are represented by. Malformed tags may be returned asinvalid reference
UnknownBlockTag.invalid reference
Erroneous -
reference
protected void reference(boolean allowMember) throws gw.gosudoc.com.sun.tools.javadoc.main.JavaScriptScanner.ParseException Deprecated.Read Java class name, possibly followed by member Matching pairs of < > are skipped. The text is terminated by the first unmatched }. It is an error if the beginning of the next tag is detected.- Throws:
gw.gosudoc.com.sun.tools.javadoc.main.JavaScriptScanner.ParseException
-
identifier
protected void identifier() throws gw.gosudoc.com.sun.tools.javadoc.main.JavaScriptScanner.ParseExceptionDeprecated.Read Java identifier Matching pairs of { } are skipped; the text is terminated by the first unmatched }. It is an error if the beginning of the next tag is detected.- Throws:
gw.gosudoc.com.sun.tools.javadoc.main.JavaScriptScanner.ParseException
-
quotedString
protected void quotedString()Deprecated.Read a quoted string. It is an error if the beginning of the next tag is detected. -
inlineWord
protected void inlineWord()Deprecated.Read a term ie. one word. It is an error if the beginning of the next tag is detected. -
entity
Deprecated. -
entity
protected void entity()Deprecated.Read an HTML entity. &identifier; or &#digits; or &#xhex-digits; -
html
protected void html()Deprecated.Read the start or end of an HTML tag, or an HTML comment <identifier attrs> or </identifier> -
htmlAttrs
protected void htmlAttrs()Deprecated.Read a series of HTML attributes, terminated by > . Each attribute is of the form identifier[=value] . "value" may be unquoted, single-quoted, or double-quoted. -
attrValueChar
Deprecated. -
isIdentifierStart
protected boolean isIdentifierStart(char ch) Deprecated. -
readIdentifier
Deprecated. -
readAttributeName
Deprecated. -
readTagName
Deprecated. -
isJavaIdentifierStart
protected boolean isJavaIdentifierStart(char ch) Deprecated. -
readJavaIdentifier
Deprecated. -
isDecimalDigit
protected boolean isDecimalDigit(char ch) Deprecated. -
isHexDigit
protected boolean isHexDigit(char ch) Deprecated. -
isUnquotedAttrValueTerminator
protected boolean isUnquotedAttrValueTerminator(char ch) Deprecated. -
isWhitespace
protected boolean isWhitespace(char ch) Deprecated. -
skipWhitespace
protected void skipWhitespace()Deprecated.
-