Skip to main content

Ens.BPL.Stack

class Ens.BPL.Stack extends %Library.RegisteredObject

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

Property Inventory

Method Inventory

Properties

property CurrentIndex as %Integer [ InitialExpression = 0 ];
This holds the index of top of the stack
Property methods: CurrentIndexDisplayToLogical(), CurrentIndexGet(), CurrentIndexIsValid(), CurrentIndexLogicalToDisplay(), CurrentIndexNormalize(), CurrentIndexSet()
property Items as array of %String;
This property holds the stack items
Property methods: ItemsBuildValueArray(), ItemsCollectionToDisplay(), ItemsCollectionToOdbc(), ItemsDisplayToCollection(), ItemsDisplayToLogical(), ItemsGet(), ItemsGetObject(), ItemsGetObjectId(), ItemsGetSwizzled(), ItemsIsValid(), ItemsLogicalToDisplay(), ItemsLogicalToOdbc(), ItemsNormalize(), ItemsOdbcToCollection(), ItemsSet(), ItemsSetObject(), ItemsSetObjectId()

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

Inherited Members

Inherited Methods

Subclasses

FeedbackOpens in a new tab