Package net.sourceforge.pmd.lang.vf
Class VfSimpleCharStream
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.SimpleCharStream
-
- net.sourceforge.pmd.lang.vf.VfSimpleCharStream
-
- All Implemented Interfaces:
CharStream
@Deprecated public class VfSimpleCharStream extends SimpleCharStream
Deprecated.Just useSimpleCharStream
directly. The only difference is the tabSize. With PMD 6.27.0 the tabSize is set to 1 for all languages, which simplifies calculation of the positions of AST nodes. PMD Designer also uses a tabSize of 1. If a mapping from PMD's beginColumn or endColumn to the text editor coordinates is needed, this needs to be done manually. Before it would only have been correct, if the editor used a tabSize of 4.- Author:
- sergey.gorbaty
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.lang.ast.SimpleCharStream
bufcolumn, buffer, bufline, bufpos, column, inBuf, inputStream, line, maxNextCharInd, prevCharIsCR, prevCharIsLF, staticFlag, tabSize
-
-
Constructor Summary
Constructors Constructor Description VfSimpleCharStream(Reader dstream)
Deprecated.
-
Method Summary
-
Methods inherited from class net.sourceforge.pmd.lang.ast.SimpleCharStream
adjustBeginLineColumn, backup, BeginToken, Done, ExpandBuff, FillBuff, getBeginColumn, getBeginLine, getColumn, getEndColumn, getEndLine, GetImage, getLine, GetSuffix, getTabSize, readChar, ReInit, ReInit, ReInit, ReInit, ReInit, ReInit, ReInit, ReInit, ReInit, setTabSize, UpdateLineColumn
-
-
-
-
Constructor Detail
-
VfSimpleCharStream
public VfSimpleCharStream(Reader dstream)
Deprecated.
-
-