Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.jexl3.parser
Class ASTNumberLiteral

    java.lang.Object
      org.apache.commons.jexl3.parser.SimpleNode
          org.apache.commons.jexl3.parser.JexlNode
              org.apache.commons.jexl3.parser.ASTNumberLiteral

All Implemented Interfaces:
  JexlNode.Constant<Number>, Node

    public final class ASTNumberLiteral

extends JexlNode
implements JexlNode.Constant<Number>

Nested Class Summary

Nested classes/interfaces inherited from class org.apache.commons.jexl3.parser.JexlNode
`JexlNode.Constant<T>`

Field Summary

Fields inherited from class org.apache.commons.jexl3.parser.SimpleNode
`id`

Method Summary
`Number` | `getLiteral()`
`Class<?>` | `getLiteralClass()`
`protected boolean` | `isConstant(boolean literal)`
`boolean` | `isInteger()`
`Object` | `jjtAccept(ParserVisitor visitor, Object data)` Accept the visitor.
`String` | `toString()`

Methods inherited from class org.apache.commons.jexl3.parser.JexlNode
`clearCache, isConstant, isLeftValue, jexlInfo, jjtSetFirstToken, jjtSetLastToken`

Methods inherited from class org.apache.commons.jexl3.parser.SimpleNode
`childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### toString

    public String toString()

  Overrides:
    `toString` in class `SimpleNode`

### getLiteral

    public Number getLiteral()

  Specified by:
    `getLiteral` in interface `JexlNode.Constant<Number>`

### isConstant

    protected boolean isConstant(boolean literal)

  Overrides:
    `isConstant` in class `JexlNode`

### getLiteralClass

    public Class<?> getLiteralClass()

### isInteger

    public boolean isInteger()

### jjtAccept

    public Object jjtAccept(ParserVisitor visitor,
                            Object data)

  Description copied from class: `SimpleNode`
  Accept the visitor.

  Specified by:
    `jjtAccept` in interface `Node`
  Overrides:
    `jjtAccept` in class `SimpleNode`
  Parameters:
    `visitor` - the visitor
    `data` - contextual data
  Returns:
    result of visit

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.