def value(self, index, extra):
lower, upper = self.span(index)<EOL>value = lower+(extra or <NUM_LIT:0>)<EOL>if value>upper:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>return value<EOL>
Override if you don't define value0 and extraTable