Import path
import codeql.ruby.ast.Statement
Classes
AliasStmt | An alias statement. For example: rb - alias alias_name method_name - alias foo :method_name - alias bar :"method_#{ name }"
|
BeginBlock | A BEGIN block. rb BEGIN { puts "starting ..." }
|
BeginExpr | A begin statement. rb begin puts "hello world" end
|
BreakStmt | A break statement. rb break break value
|
EmptyStmt | An empty statement (; ).
|
EndBlock | An END block. rb END { puts "shutting down" }
|
NextStmt | A next statement. rb next next value
|
RedoStmt | A redo statement. rb redo
|
RetryStmt | A retry statement. rb retry
|
ReturnStmt | A return statement. rb return return value
|
ReturningStmt | A statement that may return a value: return , break and next .
|
Stmt | A statement.
|
UndefStmt | An undef statement. For example: rb - undef method_name - undef &&, :method_name - undef :"method_#{ name }"
|