pvl / abap.tmbundle

TextMate support for ABAP
21 stars 9 forks source link

Recognize methods #33

Open FreHu opened 6 years ago

FreHu commented 6 years ago

Should at least recognize the function name as entity.name.function.abap. Parameters are where things will get complicated and should probably be in a separate PR.

There are also functions in the grammar which are incorrectly labeled as operators - see math_operators and string_operators, which should then be removed - they will be recognized as functions.

FreHu commented 6 years ago

Also split this into method definition and usage, since definitions don't contain parentheses and have some specifics in the syntax of their parameters, e.g. can't have optional or returning value() in a method call.