ru.grammar.svn-base

来自「这是一个DFA简化和生成LL(1)分析表的程序,自动生成表格及图形」· SVN-BASE 代码 · 共 53 行

SVN-BASE
53
字号
<autotree>grammar    : component_list eofile           | <error>component_list: component(s)eofile     : /^\Z/component  : rule           | comment           | directive           | <error>rule       : identifier ":" <commit> production_list           | <error>production_list: production(s /\|/)production : item(s)item       : simpleitem           | directive           | comment           | <error>simpleitem : repetition               # match repeated subrules           | subrule                  # match another rule           | terminal                 # match the next input           | <error>subrule    : /[A-Za-z]\w*\b(?!\s*:)/    # the name of the rulerepetition : subrule howoften           | <error>howoften   : '(?)'                                     # 0 or 1 times           | '(s' <commit> regex(?) ')'             # 1 or more times           | '(s?' <commit> regex(?) ')'            # 0 or more timesterminal   : /\/(\\\/|[^\/])*\//               # interpolated pattern           | /"([\\]"|[^"])*"/                 # interpolated literal           | /'([\\]'|[^'])*'/                 # uninterpolated literaldirective  : '<commit>'                       # commit to production           | '<uncommit>'                     # cancel commitment           | '<error>'                        # report an error           | '<autotree>'comment    : /#[^\n]*/                        # same as Perlidentifier : /[A-Za-z]\w*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?