X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/36c48187a6660c91609ebfe4a54109e1b54677e8..66c209cf435b5bfc5cf982d8df9cc3ef05b4546b:/data/xslt/xml2xhtml.xsl diff --git a/data/xslt/xml2xhtml.xsl b/data/xslt/xml2xhtml.xsl index 891aa68f..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,107 +109,148 @@
  • Reductions
  • Conflicts
  • Grammar
  • Automaton
  • - - + + - - -

    - - Rules never reduced -

    - -

    - - - -

    - -
    -
    - - +

    Reductions

    - - - + + + - +

    - - Useless nonterminals + + Nonterminals useless in grammar

    - +

    - - - - + + + +

    - +

    - - Useless rules + + Terminals unused in grammar

    - - + +

    - - - + + + + + +

    - +

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

    - - + + +

    - - - - - + + +

    + + + +

    + + Rules useless in parser due to conflicts +

    + +

    + + + +

    + + + + + +

    + + Grammar +

    + +

    + + + +

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

    @@ -257,22 +299,6 @@ - -

    - - Grammar -

    - -

    - - - -

    - - - - -

    @@ -292,52 +318,50 @@

    - +

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

    - + state @@ -386,9 +410,9 @@ - - - + + + @@ -399,9 +423,9 @@ - - - + + + @@ -412,9 +436,9 @@ - - - + + + @@ -423,12 +447,15 @@ - + select="preceding-sibling::item[1]/@rule-number"/> + + select="key('bison:ruleByNumber', $prev-rule-number)/lhs[text()]" + /> @@ -443,15 +470,14 @@ - + - + @@ -460,19 +486,19 @@ - - - - - - - + + + + + + + - - + + @@ -480,22 +506,21 @@ - + - - + + - - + + - + @@ -528,7 +553,7 @@ - + @@ -564,18 +589,18 @@ - - - - + + + + - - - - + + + + @@ -612,14 +637,15 @@ - - - - + + + + ( + select="key('bison:ruleByNumber', current()/@rule)/lhs[text()]" + /> ) @@ -661,9 +687,9 @@ + order="descending"/> - + @@ -680,7 +706,7 @@ - + @@ -698,7 +724,7 @@ - +