%CPT.CalloutTesting
hidden abstract class %CPT.CalloutTesting
Internal ISC code, not for customer use - these interfaces may change without warning
DisplayFlags can contain one or more of the following flags :-
- X - show the coloring for the source code
- I - pass DELIMIDENT=1 in the settings
- U - for unit-testing, omit all output except tree/errors; tree lacks node indexes unless "N" is also given; output starts with [tree]/[no tree]/[errors]/[coloring errors]
- D - detailed listing of parse tree - also: compare regenerated against original source
- C - check each parse tree, listing only failing nodes
- S - include source code in tree",!
- P - show parent child slot at the start of each node line
- N - show node indexes even if U is given
- E - show errors only - also: compare regenerated against original source
- A - suppress some annotation values (see CalloutDump class)
- R - show raw annotation values (see CalloutDump class)
Method Inventory
Methods
classmethod CompileCode(Language As %String, ChunkSource As %Stream.Object, Settings As %String, SymbolsString As %String, Output ColoringErrors As %Boolean, Output Errors As %Stream.Object, Moniker As %String = "") as %Status
Compiles a chunk of code
Also sets %cptcompilerout(var)=value where appropriate for the call and the language