File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
ruby/ql/lib/codeql/ruby/ast Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -172,22 +172,22 @@ module ConstantValue {
172172 class ConstantNilValue extends ConstantValue , TNil { }
173173
174174 /** Gets the integer constant `x`. */
175- ConstantValue getInt ( int x ) { result .getInt ( ) = x }
175+ ConstantValue fromInt ( int x ) { result .getInt ( ) = x }
176176
177177 /** Gets the float constant `x`. */
178- ConstantValue getFloat ( float x ) { result .getFloat ( ) = x }
178+ ConstantValue fromFloat ( float x ) { result .getFloat ( ) = x }
179179
180180 /** Gets the string constant `x`. */
181- ConstantValue getString ( string x ) { result .getString ( ) = x }
181+ ConstantValue fromString ( string x ) { result .getString ( ) = x }
182182
183183 /** Gets the symbol constant `x`. */
184- ConstantValue getSymbol ( string x ) { result .getSymbol ( ) = x }
184+ ConstantValue fromSymbol ( string x ) { result .getSymbol ( ) = x }
185185
186186 /** Gets the regexp constant `x`. */
187- ConstantValue getRegExp ( string x ) { result .getRegExp ( ) = x }
187+ ConstantValue fromRegExp ( string x ) { result .getRegExp ( ) = x }
188188
189189 /** Gets the string, symbol, or regexp constant `x`. */
190- ConstantValue getStringlikeValue ( string x ) { result .getStringlikeValue ( ) = x }
190+ ConstantValue fromStringlikeValue ( string x ) { result .getStringlikeValue ( ) = x }
191191}
192192
193193/** An access to a constant. */
You can’t perform that action at this time.
0 commit comments