Home Reference Source Repository
import {FincNode} from 'fincontracts-lib/src/fincontract.js'
public class | source

FincNode

FincNode is the superclass for all primitives. It contains a list of pointers to children. The number of children varies from 0 to 2 depending on the inheriting node type.

Constructor Summary

Public Constructor
public

Constructs FincNode with an Array of children or a single child reference

Member Summary

Public Members
public

References to children, can be an Array of FincNode, a FincNode or simply null.

Public Constructors

public constructor(children: Array<FincNode> | FincNode | null) source

Constructs FincNode with an Array of children or a single child reference

Params:

NameTypeAttributeDescription
children Array<FincNode> | FincNode | null

an Array of children or a single child reference

Public Members

public children: Array<FincNode> | FincNode | null source

References to children, can be an Array of FincNode, a FincNode or simply null.