Class ASTCapture
java.lang.Object
ortus.boxlang.runtime.events.BaseInterceptor
ortus.boxlang.runtime.interceptors.ASTCapture
- All Implemented Interfaces:
IInterceptor
An interceptor that captures the AST and outputs it to the console or a file
-
Field Summary
Fields inherited from class ortus.boxlang.runtime.events.BaseInterceptor
logger, properties -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ortus.boxlang.runtime.events.BaseInterceptor
configure, configure, getLogger, getProperties, getProperty, getProperty, getRuntime, hasProperty, setProperty, unregister
-
Constructor Details
-
ASTCapture
public ASTCapture(boolean toConsole, boolean toFile) Constructor- Parameters:
toConsole- Whether to output to the consoletoFile- Whether to output to a file
-
-
Method Details
-
onParse
Listen to the "onParse" event
-