public class ASTManager
extends java.lang.Object
| Type | Property and Description |
|---|---|
javafx.beans.property.ObjectProperty<Node> |
compilationUnit
Latest computed compilation unit (only null before the first call to
updateCompilationUnit(String)) |
javafx.beans.property.ObjectProperty<LanguageVersion> |
languageVersion
Selected language version.
|
| Constructor and Description |
|---|
ASTManager(DesignerRoot owner) |
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.ObjectProperty<Node> |
compilationUnitProperty()
Latest computed compilation unit (only null before the first call to
updateCompilationUnit(String)) |
LanguageVersion |
getLanguageVersion()
Gets the value of the property languageVersion.
|
javafx.beans.property.ObjectProperty<LanguageVersion> |
languageVersionProperty()
Selected language version.
|
Node |
updateCompilationUnit() |
Node |
updateCompilationUnit(java.lang.String source)
Refreshes the compilation unit given the current parameters of the model.
|
public javafx.beans.property.ObjectProperty<LanguageVersion> languageVersionProperty
getLanguageVersion()public javafx.beans.property.ObjectProperty<Node> compilationUnitProperty
updateCompilationUnit(String))public ASTManager(DesignerRoot owner)
public LanguageVersion getLanguageVersion()
public javafx.beans.property.ObjectProperty<LanguageVersion> languageVersionProperty()
getLanguageVersion()public Node updateCompilationUnit()
public javafx.beans.property.ObjectProperty<Node> compilationUnitProperty()
updateCompilationUnit(String))public Node updateCompilationUnit(java.lang.String source) throws ParseAbortedException
source - Source codeParseAbortedException - if parsing fails and cannot recoverCopyright © 2002–2017 PMD. All rights reserved.