Skip to main content

Ens.DTL.Node

class Ens.DTL.Node extends %Library.RegisteredObject, %JSON.Adaptor

Represents a node in the parse tree

Property Inventory

Method Inventory

Parameters

parameter SDELIM = |;
Field Delimiter used by serialized form of DTL.

Properties

property ClassName as %String (%JSONINCLUDE = "OUTPUTONLY", XMLPROJECTION = "NONE") [ Calculated ];
Property methods: ClassNameDisplayToLogical(), ClassNameIsValid(), ClassNameLogicalToDisplay(), ClassNameLogicalToOdbc(), ClassNameNormalize()
property Parent as Ens.DTL.Node (%JSONINCLUDE = "NONE");
This holds a reference to the parent node of this node. Only the root node of the parse tree will have no parent
Property methods: ParentGet(), ParentGetSwizzled(), ParentIsValid(), ParentNewObject(), ParentSet()

Methods

method ClassNameGet() as %String
method Deserialize(pState As %String) as %Status
Fill in properties of this item from the serial string
method DisplayName() as %String
Provide a user readable string which identifies this node
method GenerateCode(pCompiler As Ens.DTL.Compiler) as %Status
method GenerateXML(pStream As %BinaryStream) as %Status
method NormalizeAttribute(pAttr)
Normalize Attribute
method Serialize(pStream As %CharacterStream) as %Status
Serialize for use by DTL editor
method Validate(ByRef pStatus As %Status, pContext As Ens.DTL.ValidationContext) as %Status
Perform a sanity check on the nodes in the parse tree

Inherited Members

Inherited Methods

Subclasses

FeedbackOpens in a new tab