Uses of Class
net.sourceforge.pmd.lang.ast.impl.javacc.JavaccTokenDocument
Packages that use JavaccTokenDocument
Package
Description
Support classes for language implementations based on JavaCC.
-
Uses of JavaccTokenDocument in net.sourceforge.pmd.lang.ast.impl.javacc
Methods in net.sourceforge.pmd.lang.ast.impl.javacc that return JavaccTokenDocumentModifier and TypeMethodDescriptionfinal JavaccTokenDocumentJavaccToken.getDocument()Returns the document owning this token.CharStream.getTokenDocument()Returns the token document for the tokens being built.Methods in net.sourceforge.pmd.lang.ast.impl.javacc with parameters of type JavaccTokenDocumentModifier and TypeMethodDescriptionJavaccTokenDocument.TokenDocumentBehavior.createToken(JavaccTokenDocument self, int kind, CharStream cs, @Nullable String image) Creates a new token with the given kind.static JavaccTokenJavaccToken.newImplicit(int offset, JavaccTokenDocument document) Returns a new implicit token, positioned at the given offset.Constructors in net.sourceforge.pmd.lang.ast.impl.javacc with parameters of type JavaccTokenDocumentModifierConstructorDescriptionJavaccToken(int kind, String image, int startInclusive, int endExclusive, JavaccTokenDocument document) Constructor with aStringimage (seethe other ctor).JavaccToken(int kind, Chars image, int startInclusive, int endExclusive, JavaccTokenDocument document) Builds a new token of the specified kind.