Class Engine32


  • public class Engine32
    extends Engine
    An Engine that behaves like JEXL 3.2, bugs included.
    • Constructor Detail

      • Engine32

        public Engine32()
    • Method Detail

      • getVariable

        static java.lang.Object getVariable​(Interpreter ii,
                                            Frame frame,
                                            LexicalScope block,
                                            ASTIdentifier identifier)
        Static delegation of getVariable.
        Parameters:
        ii - the interpreter
        frame - the frame
        block - the scope
        identifier - the variable identifier
        Returns:
        the variable value
      • isTernaryProtected

        static boolean isTernaryProtected​(Interpreter ii,
                                          JexlNode startNode)
        Static delegation of isTernaryProtected.
        Parameters:
        ii - the interpreter (unused)
        startNode - the node
        Returns:
        true if node is navigation-safe, false otherwise
      • createInterpreter

        protected Interpreter createInterpreter​(JexlContext context,
                                                Frame frame,
                                                JexlOptions opts)
        Description copied from class: Engine
        Creates an interpreter.
        Overrides:
        createInterpreter in class Engine
        Parameters:
        context - a JexlContext; if null, the empty context is used instead.
        frame - the interpreter frame
        opts - the evaluation options
        Returns:
        an Interpreter