Class Parser.ExtensionHandler

java.lang.Object
de.odysseus.el.tree.impl.Parser.ExtensionHandler
Enclosing class:
Parser

public abstract static class Parser.ExtensionHandler extends Object
Provide limited support for syntax extensions.
  • Field Details

  • Constructor Details

  • Method Details

    • getExtensionPoint

      public Parser.ExtensionPoint getExtensionPoint()
      Returns:
      the extension point specifying where this syntax extension is active
    • createAstNode

      public abstract AstNode createAstNode(AstNode... children)
      Called by the parser if it handles a extended token associated with this handler at the appropriate extension point.
      Parameters:
      children -
      Returns:
      abstract syntax tree node