Skip to main content

%CPT.Tree.Fragment

Note: it's best to create your fragments before building the main parse tree

Method Inventory

Methods

method %OnNew(FragmentName As %String, InitialHandler As %String, SourceCode As %Stream.Object, Placeholders As %List, RootNodePathStr As %String, Trace=0) as %Status

Given :-

  • an initial handler for the parse (e.g. "COS.nPlainBlock")
  • a stream with the source code
  • a list of placeholder pairs: (phpathstr,annvalue)
  • the path specifying the root node for this fragment ..

Build the parse tree

Can also be called with no arguments for a cloning operation (internal to this class)

Inherited Members

Inherited Methods

FeedbackOpens in a new tab