CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Module API::Label

DEPRECATED. Treating the API graph as an explicit labelled graph is deprecated - instead use the methods on API:Node directly.

Provides classes modeling the various edges (labels) in the API graph.

Import path

import codeql.ruby.ApiGraphs

Predicates

blockParameter

Gets the label representing the block argument/parameter.

content

Gets a label representing the given content.

entryPoint

Gets the label for the edge from the root node to a custom entry point of the given name.

getLabelFromArgumentPosition

Gets the API graph label corresponding to the given argument position.

getLabelFromParameterPosition

Gets the API graph label corresponding to the given parameter position.

instance

Gets the instance edge label.

keywordParameter

Gets the label representing the given keyword argument/parameter.

member

Gets the member edge label for member m.

method

Gets the method edge label.

parameter

Gets the label representing the nth positional argument/parameter.

return

Gets the return edge label.

Classes

ApiLabel

A label in the API-graph