Package net.sourceforge.pmd.lang.ast
Class Parser.ParserTask
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.Parser.ParserTask
-
-
Constructor Summary
Constructors Constructor Description ParserTask(TextDocument textDoc, SemanticErrorReporter reporter, LanguageProcessorRegistry lpRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileId
getFileId()
LanguageProcessor
getLanguageProcessor()
LanguageVersion
getLanguageVersion()
LanguageProcessorRegistry
getLpRegistry()
SemanticErrorReporter
getReporter()
The error reporter for semantic checks.String
getSourceText()
The full text of the file to parse.TextDocument
getTextDocument()
The text document to parse.Parser.ParserTask
withTextDocument(TextDocument textDocument)
-
-
-
Constructor Detail
-
ParserTask
public ParserTask(TextDocument textDoc, SemanticErrorReporter reporter, LanguageProcessorRegistry lpRegistry)
-
-
Method Detail
-
getLanguageVersion
public LanguageVersion getLanguageVersion()
-
getFileId
public FileId getFileId()
-
getTextDocument
public TextDocument getTextDocument()
The text document to parse.
-
getSourceText
public String getSourceText()
The full text of the file to parse.
-
getReporter
public SemanticErrorReporter getReporter()
The error reporter for semantic checks.
-
getLpRegistry
public LanguageProcessorRegistry getLpRegistry()
-
getLanguageProcessor
public LanguageProcessor getLanguageProcessor()
-
withTextDocument
public Parser.ParserTask withTextDocument(TextDocument textDocument)
-
-