This grammar is LALR(1)
Number of Rules 9
Number of Terminals 6
Number of Lr0 States3
Number of La States0
Accept ::= quotEntityValueSub
1: quotEntityValueSub ::= quotEntityValue
2: quotEntityValue ::= quotEntityValue reference
4: quotEntityValue ::= quotEntityValue notQuotValue
6: reference ::= charRef
8: charRef ::= charRefHex
peReference = '%[:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\x{10000}-\x{10FFFF}][:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\x{10000}-\x{10FFFF}\-\.0-9\xB7\u0300-\u036F\u203F-\u2040]*;'
charRefHex = '\&#x[0-9a-fA-F]+;'
entityRef = '\&[:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\x{10000}-\x{10FFFF}][:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\x{10000}-\x{10FFFF}\-\.0-9\xB7\u0300-\u036F\u203F-\u2040]*;'
charRefDecimal = '\&#[0-9]+;'
quotEntityValueSub Goto 2
quotEntityValue Goto 3
charRefDecimal Reduce 3
charRefHex Reduce 3
notQuotValue Reduce 3
Eof Reduce 3
Accept->quotEntityValueSub . (0)
Accept->quotEntityValueSub . (0)
Eof Reduce 0
quotEntityValueSub->quotEntityValue . (1)
quotEntityValue->quotEntityValue .reference
quotEntityValue->quotEntityValue .notQuotValue
quotEntityValueSub->quotEntityValue . (1)
notQuotValue Sh/Rd 4
charRefHex Sh/Rd 8
charRefDecimal Sh/Rd 7
Eof Reduce 1
quotEntityValue ==>> { entityRef charRefDecimal charRefHex Empty notQuotValue}
charRef ==>> { charRefDecimal charRefHex}
quotEntityValueSub ==>> { entityRef charRefDecimal charRefHex notQuotValue Empty}
reference ==>> { entityRef charRefDecimal charRefHex}
Accept ==>> { entityRef charRefDecimal charRefHex notQuotValue Eof(singleQuot)}
quotEntityValue ==>> {}
charRef ==>> {}
quotEntityValueSub ==>> { quotEntityValue}
Accept ==>> { quotEntityValue quotEntityValueSub}
quotEntityValue ==>> true
charRef ==>> false
quotEntityValueSub ==>> true
reference ==>> false
Accept ==>> false