?? spike_parser2.grammar
字號:
grammar: rule(s) eofile { my @rules = @{ $item[1] }; { startrule => $rules[0]->[0], rules => { map {@$_} @rules }, }; } | <error>eofile: /^\Z/rule: rulename ':' <commit> production(s /\|/) { [ $item[1], $item[4] ]; } | <error?> <reject>rulename: /[A-Za-z]\w*/production: item(s) | nilitem: repetition | subrule | terminal | action | directivesubrule: /[A-Za-z]\w*\b(?!\s*:)/terminal: string | regexstring: /"(\\.|[^"])*"/ | /'(\\.|[^'])*'/regex: {extract_delimited($text,'/')} { $item[1] || undef }action: {extract_codeblock($text)} { $item[1] || undef }directive: '<error?>' | '<error>' | '<reject>' | '<commit>' | '<uncommit>' | '<leftop:' subrule regex subrule '>' { [ @item[2..4] ] }repetition: subrule howoften { [ $item[1], @{$item[2]} ]; }howoften: '(?)' { [ '?' ]; } | '(s?' <commit> regex(?) ')' { [ 's?', @{$item[3]} ]; } | '(s' <commit> regex(?) ')' { [ 's', @{$item[3]} ]; }nil: '' { ["''"] }
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -