Home > Class Reference > ENSLIB namespace > Ens.DTL.Parser

Ens.DTL.Parser

class Ens.DTL.Parser extends %Library.RegisteredObject

This class parses the DTL source and returns the root of the parse tree that represents the Data Transform Class

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property Key as %Integer [ Private ];
This holds the ^||%ISC.Ens.DTLData key where the parsed DTL data is found
Property methods: KeyDisplayToLogical(), KeyGet(), KeyIsValid(), KeyLogicalToDisplay(), KeyNormalize(), KeySet()

Methods (Including Private)

method CollectDTLErrors() as %Status [ Language = objectscript ]
Collect Parser Errors into a single status value
method ParseStream(Output pTransform As Ens.DTL.Transform, pStream As %BinaryStream) [ Language = objectscript ]
This is the test entry point to the parser
method parseAction(pAction As Ens.DTL.Action, pIndex As %Integer, Output pStartChild As %String) [ Language = objectscript ]
private method parseActions(ByRef pActions As Ens.DTL.ActionList, pIndex As %Integer, pParent As Ens.DTL.Node, pStartChild As %String = "") as %Status [ Language = objectscript ]
private method parseAssign(Output pAssign As Ens.DTL.Assign, pIndex As %Integer, pParent As Ens.DTL.Node) as %Status [ Language = objectscript ]
private method parseBreak(Output pBreak As Ens.DTL.Break, pIndex As %Integer, pParent As Ens.DTL.Node) as %Status [ Language = objectscript ]
private method parseCaseNode(Output pCaseNode As Ens.DTL.CaseNode, pIndex As %Integer, pParent As Ens.DTL.Node) as %Status [ Language = objectscript ]
Parse the 'Case' statement
private method parseCode(Output pCode As Ens.DTL.Code, pIndex As %Integer, pParent As Ens.DTL.Node) as %Status [ Language = objectscript ]
private method parseComment(Output pComment As Ens.DTL.Comment, pIndex As %Integer, pParent As Ens.DTL.Node) as %Status [ Language = objectscript ]
private method parseForEach(Output pForEach As Ens.DTL.ForEach, pIndex As %Integer, pParent As Ens.DTL.Node) as %Status [ Language = objectscript ]
private method parseGroup(Output pGroup As Ens.DTL.Group, pIndex As %Integer, pParent As Ens.DTL.Node) as %Status [ Language = objectscript ]
Parse the 'Group' statement
private method parseIf(Output pIf As Ens.DTL.If, pIndex As %Integer, pParent As Ens.DTL.Node) as %Status [ Language = objectscript ]
Parse if statement
private method parseSQL(Output pSQL As Ens.DTL.SQL, pIndex As %Integer, pParent As Ens.DTL.Node) as %Status [ Language = objectscript ]
private method parseSubTransform(Output pSubTrans As Ens.DTL.Assign, pIndex As %Integer, pParent As Ens.DTL.Node) as %Status [ Language = objectscript ]
private method parseSwitch(Output pSwitch As Ens.DTL.Switch, pIndex As %Integer, pParent As Ens.DTL.Node) as %Status [ Language = objectscript ]
Parse switch statement
private method parseTrace(Output pTrace As Ens.DTL.Trace, pIndex As %Integer, pParent As Ens.DTL.Node) as %Status [ Language = objectscript ]
private method parseTransform(Output pTransform As Ens.DTL.Transform) as %Status [ Language = objectscript ]
Parse the Transform

Inherited Members

Inherited Methods (Including Private)