Class ErbCommentDirective
A comment directive in an ERB template.
<%#= 2 + 2 %>
<%# for x in xs do %>
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. |
getToken | Gets the child token of this directive. |
toString | Gets a textual representation of this node. |
Inherited predicates
getAChildStmt | Gets a statement that starts in directive that is not a child of any other statement starting in this directive. | from ErbDirective |
getLocation | Gets the location of this node. | from ErbAstNode |
getTerminalStmt | Gets the last child statement in this directive. See | from ErbDirective |