function_feature.test
468 Bytes
foo ()
Foo_bar_42()
foo {}
Foo_bar_42{}
----------------------------------------------------
[
["function", "foo"], ["punctuation", "("], ["punctuation", ")"],
["function", "Foo_bar_42"], ["punctuation", "("], ["punctuation", ")"],
["function", "foo"], ["punctuation", "{"], ["punctuation", "}"],
["function", "Foo_bar_42"], ["punctuation", "{"], ["punctuation", "}"]
]
----------------------------------------------------
Checks for functions.