de.odysseus.el.tree.impl
Class Parser.ExtensionHandler

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

public abstract static class Parser.ExtensionHandler
extends java.lang.Object

Provide limited support for syntax extensions.


Constructor Summary
Parser.ExtensionHandler(Parser.ExtensionPoint point)
           
 
Method Summary
abstract  AstNode createAstNode(AstNode... children)
          Called by the parser if it handles a extended token associated with this handler at the appropriate extension point.
 Parser.ExtensionPoint getExtensionPoint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser.ExtensionHandler

public Parser.ExtensionHandler(Parser.ExtensionPoint point)
Method Detail

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

Copyright © 2006-2009 Odysseus Software GmbH.