Package org.drools.mvel.parser.ast.expr
Class BigDecimalLiteralExpr
java.lang.Object
com.github.javaparser.ast.Node
com.github.javaparser.ast.expr.Expression
com.github.javaparser.ast.expr.LiteralExpr
com.github.javaparser.ast.expr.LiteralStringValueExpr
org.drools.mvel.parser.ast.expr.BigDecimalLiteralExpr
- All Implemented Interfaces:
com.github.javaparser.ast.nodeTypes.NodeWithRange<com.github.javaparser.ast.Node>,com.github.javaparser.ast.nodeTypes.NodeWithTokenRange<com.github.javaparser.ast.Node>,com.github.javaparser.ast.observer.Observable,com.github.javaparser.ast.visitor.Visitable,com.github.javaparser.HasParentNode<com.github.javaparser.ast.Node>,Cloneable
public final class BigDecimalLiteralExpr
extends com.github.javaparser.ast.expr.LiteralStringValueExpr
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.javaparser.ast.Node
com.github.javaparser.ast.Node.BreadthFirstIterator, com.github.javaparser.ast.Node.DirectChildrenIterator, com.github.javaparser.ast.Node.ObserverRegistrationMode, com.github.javaparser.ast.Node.ParentsVisitor, com.github.javaparser.ast.Node.Parsedness, com.github.javaparser.ast.Node.PostOrderIterator, com.github.javaparser.ast.Node.PreOrderIterator, com.github.javaparser.ast.Node.TreeTraversal -
Field Summary
Fields inherited from class com.github.javaparser.ast.expr.LiteralStringValueExpr
valueFields inherited from class com.github.javaparser.ast.expr.Expression
EXCLUDE_ENCLOSED_EXPR, IS_NOT_ENCLOSED_EXPRFields inherited from class com.github.javaparser.ast.Node
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, LINE_SEPARATOR_KEY, NODE_BY_BEGIN_POSITION, PHANTOM_KEY, prettyPrinterNoCommentsConfiguration, PRINTER_KEY, SYMBOL_RESOLVER_KEY -
Constructor Summary
ConstructorsConstructorDescriptionBigDecimalLiteralExpr(com.github.javaparser.TokenRange tokenRange, String value) This constructor is used by the parser and is considered private.BigDecimalLiteralExpr(String value) BigDecimalLiteralExpr(BigDecimal value) -
Method Summary
Modifier and TypeMethodDescription<R,A> R accept(com.github.javaparser.ast.visitor.GenericVisitor<R, A> v, A arg) <A> voidaccept(com.github.javaparser.ast.visitor.VoidVisitor<A> v, A arg) clone()com.github.javaparser.ast.expr.ObjectCreationExprcom.github.javaparser.metamodel.LongLiteralExprMetaModelgetValue()booleanremove(com.github.javaparser.ast.Node node) setLong(long value) Methods inherited from class com.github.javaparser.ast.expr.LiteralStringValueExpr
asLiteralStringValueExpr, ifLiteralStringValueExpr, isLiteralStringValueExpr, setValue, toLiteralStringValueExprMethods inherited from class com.github.javaparser.ast.expr.LiteralExpr
asLiteralExpr, ifLiteralExpr, isLiteralExpr, toLiteralExprMethods inherited from class com.github.javaparser.ast.expr.Expression
appearsInAssignmentContext, appearsInInvocationContext, asAnnotationExpr, asArrayAccessExpr, asArrayCreationExpr, asArrayInitializerExpr, asAssignExpr, asBinaryExpr, asBooleanLiteralExpr, asCastExpr, asCharLiteralExpr, asClassExpr, asConditionalExpr, asDoubleLiteralExpr, asEnclosedExpr, asFieldAccessExpr, asInstanceOfExpr, asIntegerLiteralExpr, asLambdaExpr, asLongLiteralExpr, asMarkerAnnotationExpr, asMethodCallExpr, asMethodReferenceExpr, asNameExpr, asNormalAnnotationExpr, asNullLiteralExpr, asObjectCreationExpr, asPatternExpr, asRecordPatternExpr, asSingleMemberAnnotationExpr, asStringLiteralExpr, asSuperExpr, asSwitchExpr, asTextBlockLiteralExpr, asThisExpr, asTypeExpr, asTypePatternExpr, asUnaryExpr, asVariableDeclarationExpr, calculateResolvedType, elidesTypeArguments, ifAnnotationExpr, ifArrayAccessExpr, ifArrayCreationExpr, ifArrayInitializerExpr, ifAssignExpr, ifBinaryExpr, ifBooleanLiteralExpr, ifCastExpr, ifCharLiteralExpr, ifClassExpr, ifConditionalExpr, ifDoubleLiteralExpr, ifEnclosedExpr, ifFieldAccessExpr, ifInstanceOfExpr, ifIntegerLiteralExpr, ifLambdaExpr, ifLongLiteralExpr, ifMarkerAnnotationExpr, ifMethodCallExpr, ifMethodReferenceExpr, ifNameExpr, ifNormalAnnotationExpr, ifNullLiteralExpr, ifObjectCreationExpr, ifPatternExpr, ifRecordPatternExpr, ifSingleMemberAnnotationExpr, ifStringLiteralExpr, ifSuperExpr, ifSwitchExpr, ifTextBlockLiteralExpr, ifThisExpr, ifTypeExpr, ifTypePatternExpr, ifUnaryExpr, ifVariableDeclarationExpr, isAnnotationExpr, isArrayAccessExpr, isArrayCreationExpr, isArrayInitializerExpr, isAssignExpr, isAssignmentContext, isBinaryExpr, isBooleanLiteralExpr, isCastExpr, isCharLiteralExpr, isClassExpr, isConditionalExpr, isDoubleLiteralExpr, isEnclosedExpr, isFieldAccessExpr, isInstanceOfExpr, isIntegerLiteralExpr, isInvocationContext, isLambdaExpr, isLongLiteralExpr, isMarkerAnnotationExpr, isMethodCallExpr, isMethodReferenceExpr, isNameExpr, isNormalAnnotationExpr, isNullLiteralExpr, isObjectCreationExpr, isPatternExpr, isPolyExpression, isQualified, isRecordPatternExpr, isSingleMemberAnnotationExpr, isStandaloneExpression, isStringLiteralExpr, isSuperExpr, isSwitchExpr, isTextBlockLiteralExpr, isThisExpr, isTypeExpr, isTypePatternExpr, isUnaryExpr, isVariableDeclarationExpr, toAnnotationExpr, toArrayAccessExpr, toArrayCreationExpr, toArrayInitializerExpr, toAssignExpr, toBinaryExpr, toBooleanLiteralExpr, toCastExpr, toCharLiteralExpr, toClassExpr, toConditionalExpr, toDoubleLiteralExpr, toEnclosedExpr, toFieldAccessExpr, toInstanceOfExpr, toIntegerLiteralExpr, toLambdaExpr, toLongLiteralExpr, toMarkerAnnotationExpr, toMethodCallExpr, toMethodReferenceExpr, toNameExpr, toNormalAnnotationExpr, toNullLiteralExpr, toObjectCreationExpr, toPatternExpr, toRecordPatternExpr, toSingleMemberAnnotationExpr, toStringLiteralExpr, toSuperExpr, toSwitchExpr, toTextBlockLiteralExpr, toThisExpr, toTypeExpr, toTypePatternExpr, toUnaryExpr, toVariableDeclarationExprMethods inherited from class com.github.javaparser.ast.Node
addOrphanComment, containsData, createDefaultPrinter, createDefaultPrinter, customInitialization, equals, findAll, findAll, findAll, findByRange, findCompilationUnit, findData, findFirst, findFirst, findFirst, findRootNode, getAllContainedComments, getChildNodes, getChildNodesByType, getComment, getData, getDataKeys, getDefaultPrinterConfiguration, getLineEndingStyle, getLineEndingStyleOrDefault, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getParsed, getPrinter, getPrinter, getRange, getSymbolResolver, getTokenRange, hashCode, hasScope, isAncestorOf, isPhantom, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, removeComment, removeData, removeForced, removeOrphanComment, replace, replace, setAsParentNodeOf, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setParsed, setRange, setTokenRange, stream, stream, toString, toString, tryAddImportToParentCompilationUnit, unregister, walk, walk, walkMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.javaparser.HasParentNode
findAncestor, findAncestor, findAncestor, hasParentNode, isDescendantOfMethods inherited from interface com.github.javaparser.ast.nodeTypes.NodeWithRange
containsWithin, containsWithinRange, getBegin, getEnd, hasRange
-
Constructor Details
-
BigDecimalLiteralExpr
public BigDecimalLiteralExpr() -
BigDecimalLiteralExpr
-
BigDecimalLiteralExpr
This constructor is used by the parser and is considered private. -
BigDecimalLiteralExpr
-
-
Method Details
-
accept
public <R,A> R accept(com.github.javaparser.ast.visitor.GenericVisitor<R, A> v, A arg) -
accept
public <A> void accept(com.github.javaparser.ast.visitor.VoidVisitor<A> v, A arg) -
remove
public boolean remove(com.github.javaparser.ast.Node node) - Overrides:
removein classcom.github.javaparser.ast.Node
-
asBigDecimal
- Returns:
- the literal value as an long while respecting different number representations
-
getValue
- Overrides:
getValuein classcom.github.javaparser.ast.expr.LiteralStringValueExpr
-
setLong
-
clone
- Overrides:
clonein classcom.github.javaparser.ast.expr.LiteralStringValueExpr
-
getMetaModel
public com.github.javaparser.metamodel.LongLiteralExprMetaModel getMetaModel()- Overrides:
getMetaModelin classcom.github.javaparser.ast.expr.LiteralStringValueExpr
-
convertToObjectCreationExpr
public com.github.javaparser.ast.expr.ObjectCreationExpr convertToObjectCreationExpr()
-