CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.0.1-dev (changelog, source)
Search

Class Routing::RootNode

A node in the routing tree which has no parent.

Import path

import javascript

Direct supertypes

Indirect supertypes

Predicates

getADescendant

Gets a node that is part of this subtree.

Inherited predicates

definitelyResumesDispatch

Like mayResumeDispatch but without the assumption that functions with an unknown implementation invoke their continuation.

from Node
getAChild

Gets a child of this node in the routing tree.

from Node
getFirstChild

Gets the first child of this node in the routing tree.

from Node
getLastChild

Gets the last child of this node in the routing tree.

from Node
getNextSibling

Gets the next sibling of this node in the routing tree.

from Node
getOwnHttpMethod

Gets an HTTP method name which this node will accept, or nothing if the node accepts all HTTP methods, not taking into account the context from ancestors or children nodes.

from Node
getParent

Gets the parent of this node in the routing tree.

from Node
getPreviousSibling

Gets the previous sibling of this node in the routing tree.

from Node
getRelativePath

Gets a path prefix to be matched against the path of incoming requests.

from Node
getRootNode

Gets the root node of this node in the routing tree.

from Node
getRouteInstallation

Gets a place where this route node is installed as a route handler.

from Node
getValueImplicitlyStoredInAccessPath

Gets a node whose value can be accessed via the given access path on the nth route handler parameter, from any route handler that follows after this one.

from Node
hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from Node
isGuardedBy

Holds if the middleware corresponding to node has processed the incoming request strictly prior to this node.

from Node
isGuardedByNode

Holds if node has processed the incoming request strictly prior to this node.

from Node
mayResumeDispatch

Holds if this node may invoke its continuation after having dispatched the request to its children, that is, the incoming request may be partially processed by this subtree, and subsequently passed on to the successor.

from Node
toString

Gets a textual representation of this element.

from Node

Charpred