Uses of Class
net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken
-
Packages that use JavaccToken Package Description net.sourceforge.pmd.cpd.impl Utilities to implement a CPDCpdLexer.net.sourceforge.pmd.lang.ast net.sourceforge.pmd.lang.ast.impl.javacc Support classes for language implementations based on JavaCC. -
-
Uses of JavaccToken in net.sourceforge.pmd.cpd.impl
Constructor parameters in net.sourceforge.pmd.cpd.impl with type arguments of type JavaccToken Constructor Description JavaCCTokenFilter(TokenManager<JavaccToken> tokenManager)Creates a new JavaCCTokenFilter -
Uses of JavaccToken in net.sourceforge.pmd.lang.ast
Constructors in net.sourceforge.pmd.lang.ast with parameters of type JavaccToken Constructor Description ParseException(@NonNull JavaccToken currentTokenVal, int[][] expectedTokenSequencesVal)This constructor is called by Javacc. -
Uses of JavaccToken in net.sourceforge.pmd.lang.ast.impl.javacc
Fields in net.sourceforge.pmd.lang.ast.impl.javacc declared as JavaccToken Modifier and Type Field Description JavaccTokenJavaccToken. nextA reference to the next regular (non-special) token from the input stream.JavaccTokenJavaccToken. specialTokenThis field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.Methods in net.sourceforge.pmd.lang.ast.impl.javacc that return JavaccToken Modifier and Type Method Description JavaccTokenJavaccTokenDocument. createToken(int kind, CharStream cs, @Nullable String image)JavaccTokenJavaccTokenDocument.TokenDocumentBehavior. createToken(JavaccTokenDocument self, int kind, CharStream cs, @Nullable String image)Creates a new token with the given kind.JavaccTokenAbstractJjtreeNode. getFirstToken()JavaccTokenJavaccTokenDocument. getFirstToken()JavaccTokenJjtreeNode. getFirstToken()JavaccTokenAbstractJjtreeNode. getLastToken()JavaccTokenJjtreeNode. getLastToken()JavaccTokenJavaccToken. getNext()JavaccTokenJavaccToken. getPreviousComment()static JavaccTokenJavaccToken. implicitBefore(JavaccToken next)Creates an implicit token, with zero length, that is linked to the given token as its special predecessor.static JavaccTokenJavaccToken. newImplicit(int offset, JavaccTokenDocument document)Returns a new implicit token, positioned at the given offset.JavaccTokenJavaccTokenDocument. open()Open the document.JavaccTokenJavaccToken. replaceImage(CharStream charStream)Returns a new token with the same kind as this one, whose image is replaced by the one marked on the char stream.JavaccTokenJavaccToken. withKind(int newKind)Returns a new token with the given kind, and all other parameters identical to this one.Methods in net.sourceforge.pmd.lang.ast.impl.javacc that return types with arguments of type JavaccToken Modifier and Type Method Description default Iterable<JavaccToken>JjtreeNode. tokens()Returns a token range, that includes the first and last token.Methods in net.sourceforge.pmd.lang.ast.impl.javacc with parameters of type JavaccToken Modifier and Type Method Description voidJjtreeBuilder. closeNodeScope(N n, boolean condition, JavaccToken lastToken)Close the node scope if the condition is true.voidJjtreeBuilder. closeNodeScope(N n, int num, JavaccToken lastToken)Close the node scope and adds the given number of children to the node.protected voidAbstractJjtreeNode. enlargeLeft(JavaccToken childFst)static JavaccTokenJavaccToken. implicitBefore(JavaccToken next)Creates an implicit token, with zero length, that is linked to the given token as its special predecessor.voidJjtreeBuilder. openNodeScope(N n, JavaccToken firstToken)protected voidAbstractTokenManager. processCommentForSuppression(JavaccToken token)protected voidAbstractJjtreeNode. setFirstToken(JavaccToken token)protected voidAbstractJjtreeNode. setLastToken(JavaccToken token)
-