parameters: (self, t)
return_statement: return t
docstring: r'(?:!|)[A-Za-z_][0-9A-Za-z_]*
docstring_summary: r'(?:!|)[A-Za-z_][0-9A-Za-z_]*
docstring_tokens: r ( ? : !| ) [ A - Za - z_ ] [ 0 - 9A - Za - z_ ] *
function: def t_STANDARD_KEYWORD(self, t):
          r'(?:!|)[A-Za-z_][0-9A-Za-z_]*'
          if self.compatibility_mode:
              t.value = t.value.upper()
          elif not t.value.isupper():
              raise LexError('Scanning error. Mixed/lower case keyword detected, please use compatibility_mode=True', t.value)
          
          if t.value in self.base_tokens:
              t.type = t.value
          elif t.value in self.active_schema:
              t.type = self.active_schema[t.value]
          elif t.value.startswith('!'):
              t.type = 'USER_DEFINED_KEYWORD'
          return t
function_tokens: def t_STANDARD_KEYWORD ( self , t ) : if self . compatibility_mode : t . value = t . value . upper ( ) elif not t . value . isupper ( ) : raise LexError ( 'Scanning error. Mixed/lower case keyword detected, please use compatibility_mode=True' , t . value ) if t . value in self . base_tokens : t . type = t . value elif t . value in self . active_schema : t . type = self . active_schema [ t . value ] elif t . value . startswith ( '!' ) : t . type = 'USER_DEFINED_KEYWORD' return t