Skip to main content

Ens.BPL.Node

class Ens.BPL.Node extends %Library.RegisteredObject, %JSON.Adaptor

This class is an internal detail of the implementation of the BPL Compiler Represents a node in the parse tree

Property Inventory

Method Inventory

Parameters

parameter %JSONIGNOREINVALIDFIELD = 1;
Inherited description: The %JSONIGNOREINVALIDFIELD parameter allows the programmer to control handling of unexpected fields in the JSON input. The default (%JSONIGNOREINVALIDFIELD = 0) will treat an unexpected field as an error. If %JSONIGNOREINVALIDFIELD is set = 1, then unexpected fields will be ignored.

Properties

property ClassName as %String (%JSONINCLUDE = "OUTPUTONLY", XMLPROJECTION = "NONE") [ Calculated ];
Property methods: ClassNameDisplayToLogical(), ClassNameIsValid(), ClassNameLogicalToDisplay(), ClassNameLogicalToOdbc(), ClassNameNormalize()
property LanguageOverride as %String (VALUELIST = ",python,objectscript,basic");
Optional setting. Sets the compilation language at level of activity. To be useful, this will differ from the main BPL language.
Example 1: When the overall BPL is generating in ObjectScript mode, this setting can allow a specific BPL Code block activity to accomodate Embedded Python source code.
Example 2: When the overall BPL is generating in ObjectScript mode, this setting can allow a specific BPL Assignment activity expression to accomodate Embedded Python code expression.
Property methods: LanguageOverrideDisplayToLogical(), LanguageOverrideGet(), LanguageOverrideIsValid(), LanguageOverrideLogicalToDisplay(), LanguageOverrideLogicalToOdbc(), LanguageOverrideNormalize(), LanguageOverrideSet()
property Parent as Ens.BPL.Node (%JSONINCLUDE = "NONE");
This holds a reference to the parent node of this node. Only the root node of the parse tree will have no parent
Property methods: ParentGet(), ParentGetSwizzled(), ParentIsValid(), ParentNewObject(), ParentSet()

Methods

method ClassNameGet() as %String
method DisplayName() as %String
Provide a user readable string which identifies this node
method GenerateCode(pCompiler As Ens.BPL.Compiler) as %Status
method GenerateXML(pStream As %BinaryStream) as %Status
method NormalizeAttribute(pAttr)
Normalize Attribute
method Validate(ByRef pStatus As %Status, pContext As Ens.BPL.ValidationContext) as %Status
Perform a sanity check on the nodes in the parse tree

Inherited Members

Inherited Methods

Subclasses

FeedbackOpens in a new tab