|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.javascript.rhino.JSDocInfo.Marker
public static final class JSDocInfo.Marker
Defines a class for containing the parsing information for this JSDocInfo. For each annotation found in the JsDoc, a marker will be created indicating the annotation itself, the name of the annotation (if any; for example, a @param has a name, but a @return does not), the textual description found on that annotation and, if applicable, the type declaration. All this information is only collected if documentation collection is turned on.
Constructor Summary | |
---|---|
JSDocInfo.Marker()
|
Method Summary | |
---|---|
JSDocInfo.StringPosition |
getAnnotation()
Gets the position information for the annotation name. |
JSDocInfo.StringPosition |
getDescription()
Gets the position information for the description found in a block tag. |
JSDocInfo.StringPosition |
getName()
Deprecated. Use #getNameNode |
SourcePosition<Node> |
getNameNode()
Gets the position information for the name found in an @param tag. |
JSDocInfo.TypePosition |
getType()
Gets the position information for the type expression found in some block tags, like "@param" and "@return". |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSDocInfo.Marker()
Method Detail |
---|
public JSDocInfo.StringPosition getAnnotation()
@Deprecated public JSDocInfo.StringPosition getName()
public SourcePosition<Node> getNameNode()
public JSDocInfo.StringPosition getDescription()
public JSDocInfo.TypePosition getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |