예제 #1
0
 def __init__(self, prefix=""):
     
     AbstractCodeGenerator.__init__(self, PHPEditableSections())
     self._enable_token_type_sorting(False)
     
     self._first_token_def = True
     self._prefix = prefix
     if not self._prefix:
         self._var_all_token_types = "$" + self.VAR_ALL_TOKEN_TYPES
     else:
         self._var_all_token_types = "$" + self._prefix + "_" + self.VAR_ALL_TOKEN_TYPES
예제 #2
0
 def __init__(self):
     
     AbstractCodeGenerator.__init__(self, JSEditableSections())
     
     self._enable_token_type_sorting(False)
     self._first_token_def = True
예제 #3
0
 def __init__(self):
     
     AbstractCodeGenerator.__init__(self, PythonEditableSections())
     
     self._first_token_def = True
     self._sort_token_types = False