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

class Ens.BPL.LabelScope extends %RegisteredObject

This class is an internal detail of the implementation of the BPL Compiler Gotos may only transfer control to labels within a defined scope

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 3


Summary

Properties
Branches CodeGenerated Labels

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
AddBranch AddLabel GenerateCode


Properties

• property Branches as %String [ MultiDimensional ];
• property CodeGenerated as %Boolean [ InitialExpression = 0 ];
• property Labels as array of %String;

Methods

• method AddBranch(pLabel As %String, pState As %String)
Add a Branch
• method AddLabel(pLabel As %String, pState As %String)
Add a label
• method GenerateCode(pCompiler As Ens.BPL.Compiler) as %Status
Generate the Code for the Branch Activity


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