Hash :
99f3ddcd
Author :
Date :
2021-06-13T22:00:43
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
Foo.Bar;
Foo.Bar();
Baz.foo();
var Foo = function() {};
foo.Bar = function() {};
----------------------------------------------------
[
["maybe-class-name", "Foo"],
["punctuation", "."],
["property-access", [
["maybe-class-name", "Bar"]
]],
["punctuation", ";"],
["maybe-class-name", "Foo"],
["punctuation", "."],
["method", [
["maybe-class-name", "Bar"]
]],
["punctuation", "("],
["punctuation", ")"],
["punctuation", ";"],
["maybe-class-name", "Baz"],
["punctuation", "."],
["method", ["foo"]],
["punctuation", "("],
["punctuation", ")"],
["punctuation", ";"],
["keyword", "var"],
["function-variable", [
["maybe-class-name", "Foo"]
]],
["operator", "="],
["keyword", "function"],
["punctuation", "("],
["punctuation", ")"],
["punctuation", "{"],
["punctuation", "}"],
["punctuation", ";"],
"\r\nfoo",
["punctuation", "."],
["method-variable", [
["maybe-class-name", "Bar"]
]],
["operator", "="],
["keyword", "function"],
["punctuation", "("],
["punctuation", ")"],
["punctuation", "{"],
["punctuation", "}"],
["punctuation", ";"]
]
----------------------------------------------------
Checks for names which may be class names.