Class JexlNode.Info

java.lang.Object
org.apache.commons.jexl3.JexlInfo
org.apache.commons.jexl3.parser.JexlNode.Info
Enclosing class:
JexlNode

public static class JexlNode.Info extends JexlInfo
An info bound to its node.

Used to parse expressions for templates.

  • Field Details

  • Constructor Details

    • Info

      public Info(JexlNode jnode)
      Default ctor.
      Parameters:
      jnode - the node
    • Info

      public Info(JexlNode jnode, JexlInfo info)
      Copy ctor.
      Parameters:
      jnode - the node
      info - the
    • Info

      private Info(JexlNode jnode, String name, int l, int c)
      Full detail ctor.
      Parameters:
      jnode - the node
      name - the file name
      l - the line
      c - the column
  • Method Details

    • at

      public JexlInfo at(int l, int c)
      Description copied from class: JexlInfo
      Creates info reusing the name.
      Overrides:
      at in class JexlInfo
      Parameters:
      l - the line
      c - the column
      Returns:
      a new info instance
    • detach

      public JexlInfo detach()
      Overrides:
      detach in class JexlInfo
      Returns:
      this instance or a copy without any decorations
    • getNode

      public JexlNode getNode()
      Returns:
      the node this info is bound to