public class ASTManager
extends java.lang.Object
Constructor | Description |
---|---|
ASTManager(DesignerRoot owner) |
Modifier and Type | Method | Description |
---|---|---|
org.reactfx.value.Val<net.sourceforge.pmd.lang.ast.Node> |
compilationUnitProperty() |
|
net.sourceforge.pmd.lang.ast.Node |
getCompilationUnit() |
|
net.sourceforge.pmd.lang.LanguageVersion |
getLanguageVersion() |
|
org.reactfx.value.Var<net.sourceforge.pmd.lang.LanguageVersion> |
languageVersionProperty() |
|
void |
setLanguageVersion(net.sourceforge.pmd.lang.LanguageVersion version) |
|
net.sourceforge.pmd.lang.ast.Node |
updateCompilationUnit(java.lang.String source) |
Refreshes the compilation unit given the current parameters of the model.
|
public ASTManager(DesignerRoot owner)
public net.sourceforge.pmd.lang.LanguageVersion getLanguageVersion()
public void setLanguageVersion(net.sourceforge.pmd.lang.LanguageVersion version)
public org.reactfx.value.Var<net.sourceforge.pmd.lang.LanguageVersion> languageVersionProperty()
public net.sourceforge.pmd.lang.ast.Node getCompilationUnit()
public org.reactfx.value.Val<net.sourceforge.pmd.lang.ast.Node> compilationUnitProperty()
public net.sourceforge.pmd.lang.ast.Node updateCompilationUnit(java.lang.String source) throws ParseAbortedException
source
- Source codeParseAbortedException
- if parsing fails and cannot recoverCopyright © 2002–2018 PMD. All rights reserved.