Ens.BPL.UI.Parser
class Ens.BPL.UI.Parser extends %Library.RegisteredObject
This class validates and parses a BPL.UI.Diagram object into a BPL.Process object.Usage:
Set tParser = ##class(Ens.BPL.UI.Parser).%New() Set tSC = tParser.ParseDiagram(tDiagram) Set tProcess = tParser.Process
Property Inventory (Including Private)
Method Inventory (Including Private)
Properties (Including Private)
property Process as Ens.BPL.Process;
The Process object created as a result of parsing
Property methods: ProcessGet(), ProcessGetSwizzled(), ProcessIsValid(), ProcessNewObject(), ProcessSet()
Methods (Including Private)
method CreateBPLNode(pShape As Shape, ByRef pNode As Ens.BPL.Node, pParent As Ens.BPL.Activity) as %Status [ Language = objectscript ]
Finds an instance of a Ens.BPL.Node object
that corresponds to the given shape.
method FindStartShape(pList As %RegisteredObject, ByRef pStart As Shape) as Shape [ Language = objectscript ]
Find the starting shape in the given collection.
Create an error code for a diagram parsing error
Analyze the given diagram and create a BPL object tree
method ParseSequence(pStart As Shape, pParent As Ens.BPL.Node, pCurrScope As Ens.BPL.Scope, pActivities As Ens.BPL.NodeList, pEnd As Shape = "") as %Status [ Language = objectscript ]
Given a starting shape, process all the shapes in the given sequence.
Add the BPL nodes to the given ActivityList (which could be any NodeList).
If pEnd is present, then processing stops when it is reached. pCurrScope is the current containing scope, if any.
If pEnd is present, then processing stops when it is reached. pCurrScope is the current containing scope, if any.
Analyze the given diagram and check for syntax errors
If there are errors, they are set into Error.
Inherited Members
Inherited Methods (Including Private)
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToSaveSet()
- %OnClose()
- %OnConstructClone()
- %OnNew()
- %OnValidateObject()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()