effective-java-3rd-chinese/docs/_style/prism-master/tests/languages/bro/function_feature.test
2019-03-14 13:10:17 +08:00

21 lines
524 B
Plaintext

function foo
hook foo
event foo
function foo::bar
hook foo::bar
event foo::bar
----------------------------------------------------
[
["function", [["keyword", "function"], " foo"]],
["function", [["keyword", "hook"], " foo"]],
["function", [["keyword", "event"], " foo"]],
["function", [["keyword", "function"], " foo::bar"]],
["function", [["keyword", "hook"], " foo::bar"]],
["function", [["keyword", "event"], " foo::bar"]]
]
----------------------------------------------------
Checks for the function feature