Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / Ens.BPL.LabelScope
Private  Storage   

Ens.BPL.LabelScope


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