Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/caroso1222/ast-viewer
/ functions
Functions
260 in github.com/caroso1222/ast-viewer
⨍
Functions
260
◇
Types & classes
100
↓ 28 callers
Function
get
(value: any, path: string, defaultValue?: any)
src/app/shared/tree/utils/fn.utils.ts:25
↓ 8 callers
Function
isNil
(value: any)
src/app/shared/tree/utils/fn.utils.ts:101
↓ 6 callers
Function
isEmpty
(value: any[] | string)
src/app/shared/tree/utils/fn.utils.ts:1
↓ 5 callers
Method
childrenShouldBeLoaded
* Check whether children of the node should be loaded and not loaded yet. * Makes sense only for nodes that define `loadChildren` function. * @r
src/app/shared/tree/tree.ts:152
↓ 5 callers
Method
isLeaf
* Check whether this tree is "Leaf" or not. * @returns {boolean} A flag indicating whether or not this tree is a "Leaf".
src/app/shared/tree/tree.ts:379
↓ 4 callers
Method
_setFoldingType
* Set a current folding type: expanded, collapsed or leaf.
src/app/shared/tree/tree.ts:502
↓ 4 callers
Method
childrenWereLoaded
* Check whether children of the node were loaded. * Makes sense only for nodes that define `loadChildren` function. * @returns {boolean} A flag
src/app/shared/tree/tree.ts:135
↓ 4 callers
Method
fireNodeRemoved
(tree: Tree)
src/app/shared/tree/tree.service.ts:54
↓ 4 callers
Method
isRoot
* Check whether this tree is a root or not. The root is the tree (node) that doesn't have parent (or technically its parent is null). * @returns {b
src/app/shared/tree/tree.ts:418
↓ 3 callers
Method
addChild
* Add a child node for the current node. * @param {Tree} child - A node that should become a child. * @param [number] position - Position in whi
src/app/shared/tree/tree.ts:300
↓ 3 callers
Method
contains
(other: ElementRef)
src/app/shared/tree/draggable/captured-node.ts:11
↓ 3 callers
Method
containsElementAt
(e: DragEvent)
src/app/shared/tree/draggable/node-draggable.directive.ts:113
↓ 3 callers
Method
createNode
* Create a new node in the current tree. * @param {boolean} isBranch - A flag that indicates whether a new node should be a "Branch". "Leaf" node w
src/app/shared/tree/tree.ts:205
↓ 3 callers
Method
deleteController
(id: string | number)
src/app/shared/tree/tree.service.ts:127
↓ 3 callers
Method
fireNodeChecked
(tree: Tree)
src/app/shared/tree/tree.service.ts:109
↓ 3 callers
Method
fireNodeCreated
(tree: Tree)
src/app/shared/tree/tree.service.ts:58
↓ 3 callers
Method
fireNodeMoved
(tree: Tree, parent: Tree)
src/app/shared/tree/tree.service.ts:78
↓ 3 callers
Method
getCapturedNode
()
src/app/shared/tree/draggable/node-draggable.service.ts:24
↓ 3 callers
Method
getRootFromCode
(code: string, extended: boolean)
src/app/app.component.ts:138
↓ 3 callers
Function
includes
(target: string | any[], value: any)
src/app/shared/tree/utils/fn.utils.ts:92
↓ 3 callers
Function
isFunction
(value: any)
src/app/shared/tree/utils/fn.utils.ts:21
↓ 3 callers
Method
isNew
* Check that current tree is newly created (added by user via menu for example). Tree that was built from the TreeModel is not marked as new. * @re
src/app/shared/tree/tree.ts:590
↓ 3 callers
Method
isNodeCollapsed
* Check that tree is collapsed. * @returns {boolean} A flag indicating whether current tree is collapsed. Always returns false for the "Leaf" tree
src/app/shared/tree/tree.ts:495
↓ 3 callers
Method
isNodeExpanded
* Check that tree is expanded. * @returns {boolean} A flag indicating whether current tree is expanded. Always returns false for the "Leaf" tree an
src/app/shared/tree/tree.ts:487
↓ 3 callers
Method
isStatic
* Check whether or not this tree is static. * @returns {boolean} A flag indicating whether or not this tree is static.
src/app/shared/tree/tree.ts:355
↓ 3 callers
Method
markAsBeingRenamed
* Mark current tree as being renamed (@see {@link isBeingRenamed}).
src/app/shared/tree/tree.ts:620
↓ 3 callers
Method
removeClass
(className: string)
src/app/shared/tree/draggable/node-draggable.directive.ts:123
↓ 3 callers
Function
size
(value: any[])
src/app/shared/tree/utils/fn.utils.ts:54
↓ 2 callers
Method
_addChild
(child: Tree, position: number = size(this._children) || 0)
src/app/shared/tree/tree.ts:311
↓ 2 callers
Method
addSibling
* Add a sibling node for the current node. This won't work if the current node is a root. * @param {Tree} sibling - A node that should become a sib
src/app/shared/tree/tree.ts:287
↓ 2 callers
Method
cacheLines
* Updates the lines length cache. * @param code - Monaco code
src/app/editor-view/editor-view.component.ts:173
↓ 2 callers
Method
childrenAreBeingLoaded
* Check whether children of the node are being loaded. * Makes sense only for nodes that define `loadChildren` function. * @returns {boolean} A
src/app/shared/tree/tree.ts:126
↓ 2 callers
Function
defaultsDeep
(target: any, ...sources: any[])
src/app/shared/tree/utils/fn.utils.ts:70
↓ 2 callers
Method
disableCollapseOnInit
()
src/app/shared/tree/tree.ts:576
↓ 2 callers
Method
executeOnChildController
(executor: (controller: TreeController) => void)
src/app/shared/tree/tree-internal.component.ts:350
↓ 2 callers
Method
fireMenuEvent
(sender: HTMLElement, action: NodeMenuAction)
src/app/shared/tree/menu/node-menu.service.ts:10
↓ 2 callers
Method
fireNodeUnchecked
(tree: Tree)
src/app/shared/tree/tree.service.ts:113
↓ 2 callers
Method
getLineCol
* Returns the (row, col) tuple "coordinate" of a given absolute code * position. The absolute position is often obtained from the particular * A
src/app/editor-view/editor-view.component.ts:159
↓ 2 callers
Function
has
(value: any, prop: string)
src/app/shared/tree/utils/fn.utils.ts:17
↓ 2 callers
Method
hasChild
* Check whether provided tree is a child of the current tree. * This method tests that provided tree is a <strong>direct</strong> child of the curr
src/app/shared/tree/tree.ts:437
↓ 2 callers
Method
hasChildren
* Check whether this tree has children. * @returns {boolean} A flag indicating whether or not this tree has children.
src/app/shared/tree/tree.ts:410
↓ 2 callers
Method
hasDeferredChildren
()
src/app/shared/tree/tree.ts:113
↓ 2 callers
Method
hasLeftMenu
* Check whether or not this tree has a left menu. * @returns {boolean} A flag indicating whether or not this tree has a left menu.
src/app/shared/tree/tree.ts:363
↓ 2 callers
Method
hasLoadedChildern
()
src/app/shared/tree/tree.ts:252
↓ 2 callers
Method
hasSibling
* Check whether provided tree is a sibling of the current tree. Sibling trees (nodes) are the trees that have the same parent. * @param {Tree} tree
src/app/shared/tree/tree.ts:427
↓ 2 callers
Method
hideMenuForAllNodesExcept
(treeElementRef: ElementRef)
src/app/shared/tree/menu/node-menu.service.ts:21
↓ 2 callers
Method
isBeingRenamed
* Check that current tree is being renamed (it is in the process of its value renaming initiated by a user). * @returns {boolean} A flag whether th
src/app/shared/tree/tree.ts:613
↓ 2 callers
Method
isBranch
* Check whether this tree is "Branch" or not. "Branch" is a node that has children. * @returns {boolean} A flag indicating whether or not this tree
src/app/shared/tree/tree.ts:402
↓ 2 callers
Method
isRenamable
* Check whether a given value can be considered RenamableNode. * @param {any} value - A value to check. * @returns {boolean} - A flag indicating
src/app/shared/tree/tree.ts:62
↓ 2 callers
Method
isSelected
()
src/app/shared/tree/tree-controller.ts:30
↓ 2 callers
Method
isValueEmpty
* Check that value passed is not empty (it doesn't consist of only whitespace symbols). * @param {string} value - A value that should be checked.
src/app/shared/tree/tree.ts:52
↓ 2 callers
Method
merge
(child: TreeModel, parent: TreeModel)
src/app/shared/tree/tree.types.ts:102
↓ 2 callers
Function
omit
(value: any, propsToSkip: string | string[])
src/app/shared/tree/utils/fn.utils.ts:39
↓ 2 callers
Method
onNewSelected
(e: NodeMenuItemSelectedEvent)
src/app/shared/tree/tree-internal.component.ts:262
↓ 2 callers
Method
onNodeChecked
()
src/app/shared/tree/tree-internal.component.ts:328
↓ 2 callers
Method
onNodeUnchecked
()
src/app/shared/tree/tree-internal.component.ts:339
↓ 2 callers
Method
onSwitchFoldingType
()
src/app/shared/tree/tree-internal.component.ts:284
↓ 2 callers
Method
setController
(id: string | number, controller: TreeController)
src/app/shared/tree/tree.service.ts:123
↓ 2 callers
Method
setTree
(tree)
src/app/app.service.ts:37
↓ 2 callers
Method
setTreeContainer
(container)
src/app/app.service.ts:41
↓ 2 callers
Method
switchFoldingType
* Switch folding type of the current tree. "Leaf" node cannot switch its folding type cause it doesn't have children, hence nothing to fold. * If n
src/app/shared/tree/tree.ts:473
↓ 1 callers
Method
addClass
(className: string)
src/app/shared/tree/draggable/node-draggable.directive.ts:118
↓ 1 callers
Method
applyNewValue
(e: NodeEditableEvent)
src/app/shared/tree/tree-internal.component.ts:289
↓ 1 callers
Method
applyNewValueToRenamable
(value: RenamableNode, newValue: string)
src/app/shared/tree/tree.ts:76
↓ 1 callers
Method
buildTreeFromModel
(model: TreeModel, parent: Tree, isBranch: boolean)
src/app/shared/tree/tree.ts:92
↓ 1 callers
Method
canBeDroppedAt
(element: ElementRef)
src/app/shared/tree/draggable/captured-node.ts:7
↓ 1 callers
Method
canLoadChildren
()
src/app/shared/tree/tree.ts:139
↓ 1 callers
Method
captureNode
(node: CapturedNode)
src/app/shared/tree/draggable/node-draggable.service.ts:20
↓ 1 callers
Method
check
()
src/app/shared/tree/tree-controller.ts:122
↓ 1 callers
Method
checkedChildrenAmount
()
src/app/shared/tree/tree.ts:260
↓ 1 callers
Method
cloneTreeShallow
(origin: Tree)
src/app/shared/tree/tree.ts:70
↓ 1 callers
Method
draggedStream
(tree: Tree, element: ElementRef)
src/app/shared/tree/tree.service.ts:117
↓ 1 callers
Method
eventContainsId
(event: NodeEvent)
src/app/shared/tree/tree-internal.component.ts:381
↓ 1 callers
Method
fireLoadNextLevel
(tree: Tree)
src/app/shared/tree/tree.service.ts:105
↓ 1 callers
Method
fireMenuItemSelected
(tree: Tree, selectedItem: string)
src/app/shared/tree/tree.service.ts:82
↓ 1 callers
Method
fireNodeCollapsed
(tree: Tree)
src/app/shared/tree/tree.service.ts:101
↓ 1 callers
Method
fireNodeDragged
(captured: CapturedNode, target: ElementRef)
src/app/shared/tree/draggable/node-draggable.service.ts:12
↓ 1 callers
Method
fireNodeExpanded
(tree: Tree)
src/app/shared/tree/tree.service.ts:97
↓ 1 callers
Method
fireNodeHovered
(tree: Tree)
src/app/shared/tree/tree.service.ts:66
↓ 1 callers
Method
fireNodeIndetermined
(tree: Tree)
src/app/shared/tree/tree.service.ts:159
↓ 1 callers
Method
fireNodeRenamed
(oldValue: RenamableNode | string, tree: Tree)
src/app/shared/tree/tree.service.ts:74
↓ 1 callers
Method
fireNodeSelected
(tree: Tree)
src/app/shared/tree/tree.service.ts:62
↓ 1 callers
Method
fireNodeSwitchFoldingType
(tree: Tree)
src/app/shared/tree/tree.service.ts:86
↓ 1 callers
Method
fireNodeUnselected
(tree: Tree)
src/app/shared/tree/tree.service.ts:70
↓ 1 callers
Method
getController
(id: string | number)
src/app/shared/tree/tree.service.ts:133
↓ 1 callers
Method
getController
()
src/app/shared/tree/tree.component.ts:164
↓ 1 callers
Method
getControllerByNodeId
(id: number | string)
src/app/shared/tree/tree.component.ts:168
↓ 1 callers
Method
getCssClassesFromSettings
()
src/app/shared/tree/tree.ts:533
↓ 1 callers
Method
getParagraphText
()
e2e/app.po.ts:8
↓ 1 callers
Method
getTemplateFromSettings
()
src/app/shared/tree/tree.ts:557
↓ 1 callers
Method
hasController
(id: string | number)
src/app/shared/tree/tree.service.ts:141
↓ 1 callers
Method
hasRightMenu
* Check whether or not this tree has a right menu. * @returns {boolean} A flag indicating whether or not this tree has a right menu.
src/app/shared/tree/tree.ts:371
↓ 1 callers
Method
hideMenuStream
(treeElementRef: ElementRef)
src/app/shared/tree/menu/node-menu.service.ts:15
↓ 1 callers
Method
isCollapsed
()
src/app/shared/tree/tree-controller.ts:50
↓ 1 callers
Method
isCollapsedOnInit
()
src/app/shared/tree/tree.ts:582
↓ 1 callers
Method
isDropPossible
(e: DragEvent)
src/app/shared/tree/draggable/node-draggable.directive.ts:103
↓ 1 callers
Function
isEscapePressed
(e: KeyboardEvent)
src/app/shared/tree/utils/event.utils.ts:18
↓ 1 callers
Method
isExpanded
()
src/app/shared/tree/tree-controller.ts:40
↓ 1 callers
Method
isLeaf
()
src/app/code-node/code-node.component.ts:38
↓ 1 callers
Function
isLeftButtonClicked
(e: MouseEvent)
src/app/shared/tree/utils/event.utils.ts:10
next →
1–100 of 260, ranked by callers