Hash :
3eec2b75
Author :
Date :
2016-04-30T11:49:08
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
message Point {
required int32 x = 1;
required int32 y = 2;
optional string label = 3;
}
----------------------------------------------------
[
["keyword", "message"],
" Point ",
["punctuation", "{"],
["builtin", "required"],
["primitive", "int32"],
" x ",
["operator", "="],
["number", "1"],
["punctuation", ";"],
["builtin", "required"],
["primitive", "int32"],
" y ",
["operator", "="],
["number", "2"],
["punctuation", ";"],
["builtin", "optional"],
["primitive", "string"],
" label ",
["operator", "="],
["number", "3"],
["punctuation", ";"],
["punctuation", "}"]
]
----------------------------------------------------
Check for keywords and builtins