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 FileIdgetFileId()LanguageProcessorgetLanguageProcessor()LanguageVersiongetLanguageVersion()LanguageProcessorRegistrygetLpRegistry()SemanticErrorReportergetReporter()The error reporter for semantic checks.StringgetSourceText()The full text of the file to parse.TextDocumentgetTextDocument()The text document to parse.Parser.ParserTaskwithTextDocument(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)
-
-