Class Engine32


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

    • Engine32

      public Engine32(JexlBuilder conf)
    • Engine32

      public Engine32()
  • Method Details

    • isTernaryProtected

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

      static 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
    • 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
    • createTemplateInterpreter

      protected Interpreter createTemplateInterpreter(TemplateInterpreter.Arguments args)
      Description copied from class: Engine
      Creates a template interpreter.
      Overrides:
      createTemplateInterpreter in class Engine
      Parameters:
      args - the template interpreter arguments