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

Class ErbDirective

A directive in an ERB template.

Import path

import codeql.ruby.AST

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getAChildStmt

Gets a statement that starts in directive that is not a child of any other statement starting in this directive.

getAPrimaryQlClass

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

getTerminalStmt

Gets the last child statement in this directive. See getAChildStmt for more details.

getToken

Gets the child token of this directive.

toString

Gets a textual representation of this node.

Inherited predicates

getLocation

Gets the location of this node.

from ErbAstNode