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

Class ErbCode

An ERB token appearing within a code directive. This will typically be interpreted as Ruby code or a GraphQL query, depending on context.

Import path

import codeql.ruby.AST

Direct supertypes

Indirect supertypes

Predicates

getAPrimaryQlClass

Gets the name of a primary CodeQL class to which this node belongs.

getValue

Gets the string value of this token.

Inherited predicates

getLocation

Gets the location of this node.

from ErbAstNode
toString

Gets a textual representation of this node.

from ErbToken

Charpred