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

Class EmptyLocation

An entity representing an empty location.

Import path

import ruby

Direct supertypes

Indirect supertypes

Inherited predicates

getEndColumn

Gets the 1-based column number (inclusive) where this location ends.

from Location
getEndLine

Gets the 1-based line number (inclusive) where this location ends.

from Location
getFile

Gets the file for this location.

from Location
getNumLines

Gets the number of lines covered by this location.

from Location
getStartColumn

Gets the 1-based column number (inclusive) where this location starts.

from Location
getStartLine

Gets the 1-based line number (inclusive) where this location starts.

from Location
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 Providing locations in CodeQL queries.

from Location
strictlyBefore

Holds if this location starts strictly before the specified location.

from Location
toString

Gets a textual representation of this element.

from Location

Charpred