Class JexlNode.Info

  • Enclosing class:
    JexlNode

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

    Used to parse expressions for templates.

    • Constructor Detail

      • 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,
                     java.lang.String name,
                     int l,
                     int c)
        Full detail ctor.
        Parameters:
        jnode - the node
        name - the file name
        l - the line
        c - the column
    • Method Detail

      • 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