Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [Ens] >  [BPL] >  [Node]
Private  Storage   

class Ens.BPL.Node extends %RegisteredObject

This class is an internal detail of the implementation of the BPL Compiler Represents a node in the parse tree

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 5


Summary

Properties
LanguageOverride Parent

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
DisplayName GenerateCode GenerateXML NormalizeAttribute
Validate

Subclasses
Ens.BPL.Activity Ens.BPL.CaseNode Ens.BPL.Context Ens.BPL.Message
Ens.BPL.NodeList Ens.BPL.Process Ens.BPL.Property

Properties

• property LanguageOverride as %String(VALUELIST=",python,objectscript,basic");
Optional setting. Sets the compilation language at level of activity. To be useful, this will differ from the main BPL language.
Example 1: When the overall BPL is generating in ObjectScript mode, this setting can allow a specific BPL Code block activity to accomodate Embedded Python source code.
Example 2: When the overall BPL is generating in ObjectScript mode, this setting can allow a specific BPL Assignment activity expression to accomodate Embedded Python code expression.
• property Parent as Ens.BPL.Node;
This holds a reference to the parent node of this node. Only the root node of the parse tree will have no parent

Methods

• method DisplayName() as %String
Provide a user readable string which identifies this node
• method GenerateCode(pCompiler As Ens.BPL.Compiler) as %Status
• method GenerateXML(pStream As %BinaryStream) as %Status
• method NormalizeAttribute(pAttr)
Normalize Attribute
• method Validate(ByRef pStatus As %Status, pContext As Ens.BPL.ValidationContext) as %Status
Perform a sanity check on the nodes in the parse tree


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.