Modifier and Type | Class and Description |
---|---|
class |
ASAfterNodeStrategy
A concrete implementation of the
IASNodeStrategy that allows
IASNode processing after the current node handler. |
class |
ASBeforeNodeStrategy
A concrete implementation of the
IASNodeStrategy that allows
IASNode processing before the current node handler. |
Modifier and Type | Method and Description |
---|---|
IASNodeStrategy |
ASBlockWalker.getStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
ASBlockWalker.setStrategy(IASNodeStrategy value) |
Modifier and Type | Method and Description |
---|---|
IASNodeStrategy |
MXMLBlockWalker.getASStrategy() |
IASNodeStrategy |
MXMLBlockWalker.getMXMLStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
MXMLBlockWalker.setASStrategy(IASNodeStrategy value) |
void |
MXMLBlockWalker.setMXMLStrategy(IASNodeStrategy value) |
Modifier and Type | Class and Description |
---|---|
class |
ASNodeHandler
A concrete implementation of the
IASNodeStrategy that allows a
subclass to either implement the IASNode handling directly or pass a
child IASNodeStrategy that this class will delegate it's
ASNodeHandler.handle(IASNode) method to. |
class |
ASNodeSwitch
The
ASNodeSwitch class is an IASNodeStrategy implementation
that handles IASNode types based on the node interface type. |
class |
BeforeAfterStrategy
The
BeforeAfterStrategy implements a before and after IASNode
handler. |
Modifier and Type | Method and Description |
---|---|
IASNodeStrategy |
BeforeAfterStrategy.getAfter()
Returns the
IASNodeStrategy called after the
ASNodeHandler.getHandler() 's handle() method. |
IASNodeStrategy |
BeforeAfterStrategy.getBefore()
Returns the
IASNodeStrategy called before the
ASNodeHandler.getHandler() 's handle() method. |
IASNodeStrategy |
ASNodeHandler.getHandler()
Returns the
IASNodeStrategy currently being used to handle
IASNode AST. |
Modifier and Type | Method and Description |
---|---|
void |
BeforeAfterStrategy.setAfter(IASNodeStrategy value)
Sets the after handler.
|
void |
BeforeAfterStrategy.setBefore(IASNodeStrategy value)
Sets the before handler.
|
void |
ASNodeHandler.setHandler(IASNodeStrategy handler)
Sets the
IASNode handler strategy. |
Constructor and Description |
---|
ASNodeHandler(IASNodeStrategy handler)
Constructor, creates a node strategy that composites a child
IASNodeStrategy implemented in the ASNodeHandler.handle(IASNode)
method. |
BeforeAfterStrategy(IASNodeStrategy handler,
IASNodeStrategy before,
IASNodeStrategy after)
Constructor, creates a strategy that implements a before and after
IASNodeStrategy . |
Modifier and Type | Class and Description |
---|---|
class |
MXMLNodeSwitch |
Copyright © 2016 The Apache Software Foundation. All rights reserved.