codeql/ruby-all
3.0.3-dev
For other CodeQL resources, including tutorials and examples, see the CodeQL documentation
.
Gets the key expression of this pair. For example, the SymbolLiteral representing the keyword foo in the following example:
SymbolLiteral
foo
bar(foo: 123)
Or the StringLiteral for 'foo' in the following hash pair:
StringLiteral
'foo'
{ 'foo' => 123 }
Expr getKey()