Top Fields Constructors Methods
com.github.javaparser.printer.concretesyntaxmodel

public Class CsmAttribute

extends Object
implements CsmElement
Class Inheritance
All Implemented Interfaces
com.github.javaparser.printer.concretesyntaxmodel.CsmElement
Imports
com.github.javaparser.GeneratedJavaParserConstants, com.github.javaparser.ast.Node, com.github.javaparser.ast.expr.IntegerLiteralExpr, com.github.javaparser.ast.observer.ObservableProperty, com.github.javaparser.printer.SourcePrinter

Field Summary

Modifier and TypeField and Description
private final ObservableProperty

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ObservableProperty
public int
getTokenType(Node node, String text, String
Operator's token text
tokenText
)

Obtain the token type corresponding to the specific value of the attribute.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

propertyback to summary
private final ObservableProperty property

Constructor Detail

CsmAttributeback to summary
public CsmAttribute(ObservableProperty property)

Method Detail

getPropertyback to summary
public ObservableProperty getProperty()
getTokenTypeback to summary
public int getTokenType(Node node, String text, String tokenText)

Obtain the token type corresponding to the specific value of the attribute. For example, to the attribute "Operator" different token could correspond like PLUS or MINUS.

Parameters
tokenText:String

Operator's token text

prettyPrintback to summary
public void prettyPrint(Node node, SourcePrinter printer)

Implements com.github.javaparser.printer.concretesyntaxmodel.CsmElement.prettyPrint.

Annotations
@Override