X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/cff03fb2b92a05f61c142783dd3b2e0103782869..7601a471f5b0dee063748c5d4383bc03c6313164:/data/xslt/xml2xhtml.xsl diff --git a/data/xslt/xml2xhtml.xsl b/data/xslt/xml2xhtml.xsl index 62776637..d2cfed4c 100644 --- a/data/xslt/xml2xhtml.xsl +++ b/data/xslt/xml2xhtml.xsl @@ -2,9 +2,8 @@ + Verbatim copying and distribution of this entire page is + permitted in any medium, provided this notice is preserved. @@ -108,110 +109,148 @@
  • Reductions
  • Conflicts
  • Grammar
  • Automaton
  • - - + + - - -

    - - Rules useless in parser due to conflicts -

    - -

    - - - -

    - -
    -
    - - +

    Reductions

    - - - + + + - +

    Nonterminals useless in grammar

    - +

    - - - - + + + +

    - +

    - - Rules useless in grammar + + Terminals unused in grammar

    - - + +

    - - - + + + + + +

    - +

    - - Terminals which are not used + + Rules useless in grammar

    - - + + +

    - - - - - + + +

    + + + +

    + + Rules useless in parser due to conflicts +

    + +

    + + + +

    + + + + + +

    + + Grammar +

    + +

    + + + +

    + + + + + + + + + + + + + + + + + + + +

    @@ -260,22 +299,6 @@ - -

    - - Grammar -

    - -

    - - - -

    - - - - -

    @@ -295,52 +318,50 @@

    - +

    - + + + - - -
    - - - - - - - - + on left: + + + - - - - - + + + + on right: + + + - - + - + - + @@ -360,7 +381,7 @@

    - + state @@ -389,9 +410,9 @@ - - - + + + @@ -402,9 +423,9 @@ - - - + + + @@ -415,9 +436,9 @@ - - - + + + @@ -426,12 +447,15 @@ - + select="preceding-sibling::item[1]/@rule-number"/> + + select="key('bison:ruleByNumber', $prev-rule-number)/lhs[text()]" + /> @@ -446,15 +470,14 @@ - + - + @@ -463,19 +486,19 @@ - - - - - - - + + + + + + + - - + + @@ -483,22 +506,21 @@ - + - - + + - - + + - + @@ -531,7 +553,7 @@ - + @@ -567,18 +589,18 @@ - - - - + + + + - - - - + + + + @@ -615,14 +637,15 @@ - - - - + + + + ( + select="key('bison:ruleByNumber', current()/@rule)/lhs[text()]" + /> ) @@ -664,9 +687,9 @@ + order="descending"/> - + @@ -683,7 +706,7 @@ - + @@ -701,7 +724,7 @@ - +