Class CsmAttribute
- java.lang.Object
-
- com.github.javaparser.printer.concretesyntaxmodel.CsmAttribute
-
- All Implemented Interfaces:
CsmElement
public class CsmAttribute extends Object implements CsmElement
-
-
Constructor Summary
Constructors Constructor Description CsmAttribute(ObservableProperty property)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObservableProperty
getProperty()
int
getTokenType(Node node, String text, String tokenText)
Obtain the token type corresponding to the specific value of the attribute.void
prettyPrint(Node node, SourcePrinter printer)
-
-
-
Constructor Detail
-
CsmAttribute
public CsmAttribute(ObservableProperty property)
-
-
Method Detail
-
getProperty
public ObservableProperty getProperty()
-
prettyPrint
public void prettyPrint(Node node, SourcePrinter printer)
- Specified by:
prettyPrint
in interfaceCsmElement
-
-