Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [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


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 3


Branches CodeGenerated Labels

%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


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


• 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) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.