Package net.sourceforge.pmd.cpd
Class Tokens
- java.lang.Object
-
- net.sourceforge.pmd.cpd.Tokens
-
public class Tokens extends Object
-
-
Constructor Summary
Constructors Constructor Description Tokens()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(TokenEntry tokenEntry)
TokenEntry
getEndToken(TokenEntry mark, Match match)
int
getLineCount(TokenEntry mark, Match match)
List<TokenEntry>
getTokens()
Iterator<TokenEntry>
iterator()
int
size()
-
-
-
Method Detail
-
add
public void add(TokenEntry tokenEntry)
-
iterator
public Iterator<TokenEntry> iterator()
-
size
public int size()
-
getEndToken
public TokenEntry getEndToken(TokenEntry mark, Match match)
-
getLineCount
public int getLineCount(TokenEntry mark, Match match)
-
getTokens
public List<TokenEntry> getTokens()
-
-