コード例 #1
0
ファイル: setup.py プロジェクト: BackupTheBerlios/vermont-svn
#                                                                             #
# Asterisk Module software, LORIA-INRIA LORRAINE, MADYNES RESEARCH TEAM       #
# Copyright (C) 2005  Jerome BOURDELLON                                       #
#                                                                             #
# This library is free software; you can redistribute it and/or               #
# modify it under the terms of the GNU Lesser General Public                  #
# License as published by the Free Software Foundation; either                #
# version 2.1 of the License, or (at your option) any later version.          #
#                                                                             #
# This library is distributed in the hope that it will be useful,             #
# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU           #
# Lesser General Public License for more details.                             #
#                                                                             #
# You should have received a copy of the GNU Lesser General Public            #
# License along with this library; if not, write to the Free Software         #
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   #
#                                                                             #
# Author Info:                                                                #
#   Name : Jerome BOURDELLON                                                  #
#   Email: [email protected]                                         #
#                                                                             #
###############################################################################

import yapps2 


if __name__ == '__main__':
	
 	yapps2.generate("Grammar.g")
コード例 #2
0
ファイル: setup.py プロジェクト: pombredanne/py-dom-xpath
 def build_module(self, module, source, package):
     if source in self.yapps:
         yapps2.generate(self.yapps[source], source)
     return _build_py.build_module(self, module, source, package)
コード例 #3
0
ファイル: parser.py プロジェクト: gordonkoschinsky/signals
import yapps2

yapps2.generate(
    "C:\Users\gordon\Documents\Coding\Signals\src\parser\grammar.g")
コード例 #4
0
import yapps2

yapps2.generate('ipv4_route_parser.g')
コード例 #5
0
import yapps2

yapps2.generate('ipv6_route_parser.g')
コード例 #6
0
import yapps2

yapps2.generate('Parser_SAD.g')
コード例 #7
0
ファイル: setup.py プロジェクト: lummax/py-dom-xpath-six
 def build_module(self, module, source, package):
     if source in self.yapps:
         yapps2.generate(self.yapps[source], source)
     return _build_py.build_module(self, module, source, package)