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

Class Ruby::Token

A token.

Import path

import codeql.ruby.ast.internal.TreeSitter

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getAPrimaryQlClass

Gets the name of the primary QL class for this element.

getValue

Gets the value of this token.

toString

Gets a string representation of this element.

Inherited predicates

getAFieldOrChild

Gets a field or child node of this node.

from AstNode
getLocation

Gets the location of this element.

from AstNode
getParent

Gets the parent of this element.

from AstNode
getParentIndex

Gets the index of this node among the children of its parent.

from AstNode
getPrimaryQlClasses

Gets a comma-separated list of the names of the primary CodeQL classes to which this element belongs.

from AstNode