Class Reference
Ens.BPL.Stack
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [Ens] >  [BPL] >  [Stack]
Private  Storage

class Ens.BPL.Stack extends %RegisteredObject

This class is an internal detail of the implementation of the BPL Compiler

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 5


Summary

Properties
CurrentIndex Items

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
Empty Peek Pop Push
Top

Subclasses
Ens.BPL.ContextStack

Properties

• property CurrentIndex as %Integer [ InitialExpression = 0 ];
This holds the index of top of the stack
• property Items as array of %String;
This property holds the stack items

Methods

• method Empty() as %Boolean
This method determines if the stack is empty
• method Peek(ByRef pItem As %String) as %Boolean
• method Pop()
This method pops an item off the stack, if the stack is empty an underflow exception will be thrown
• method Push(Item As %String)
This method pushes an item onto the stack
• method Top() as %String
This method retrieves the item at the top of the stack, if the stack is empty an underflow exception will be thrown


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