I just meant that it would look for lines that start with 'def' and find all the methods after them, and then check that with a list of methods that you call.
For example, it would see this script:
And highlight the method "Gow" because it doesn't exist, along with maybe checking for the number of arguments after "Run" and highlighting that.
If this is what you were thinking, that's fine, but I feel like what you said was a bit more complicated.
For example, it would see this script:
Init.new
Run.new(45, 1, 3)
Gow.new(3, 6)
def Init
do stuff
end
def Run(x, y, z, a)
do stuff
end
def Go(x, y)
do stuff
end
And highlight the method "Gow" because it doesn't exist, along with maybe checking for the number of arguments after "Run" and highlighting that.
If this is what you were thinking, that's fine, but I feel like what you said was a bit more complicated.



I completely blanked on the HP thing, sorry.
(BUMP)