Did I find the right examples for you? yes no

All Samples(92)  |  Call(0)  |  Derive(0)  |  Import(92)

src/g/c/gcc-python-plugin-HEAD/tests/examples/cplusplus/methods/script.py   gcc-python-plugin(Download)
#   <http://www.gnu.org/licenses/>.
 
import gcc
import pprint
 

src/g/c/gcc-python-plugin-HEAD/tests/examples/cplusplus/classes/script.py   gcc-python-plugin(Download)
#   <http://www.gnu.org/licenses/>.
 
import gcc
 
class TestPass(gcc.GimplePass):

src/g/c/gcc-python-plugin-HEAD/tests/examples/c/struct/script.py   gcc-python-plugin(Download)
# Demonstration of how to look up a struct's declaration from Python
 
import gcc
 
class TestPass(gcc.GimplePass):

src/g/c/gcc-python-plugin-HEAD/tests/examples/spelling-checker/script.py   gcc-python-plugin(Download)
#   <http://www.gnu.org/licenses/>.
 
import gcc
 
# Use the Python bindings to the "enchant" spellchecker:

src/g/c/gcc-python-plugin-HEAD/tests/examples/lto/script.py   gcc-python-plugin(Download)
# Show the "supergraph": the CFG of all functions, linked by
# interproceduraledges:
import gcc
from gccutils.graph.supergraph import Supergraph
from gccutils import invoke_dot

src/g/c/gcc-python-plugin-HEAD/tests/examples/hello-world/script.py   gcc-python-plugin(Download)
#   <http://www.gnu.org/licenses/>.
 
import gcc
 
# Here's a callback.  We will wire it up below:

src/g/c/gcc-python-plugin-HEAD/tests/examples/find-global-state/script.py   gcc-python-plugin(Download)
#   <http://www.gnu.org/licenses/>.
 
import gcc
from gccutils import get_src_for_loc
 

src/g/c/gcc-python-plugin-HEAD/tests/examples/attributes/script.py   gcc-python-plugin(Download)
#   <http://www.gnu.org/licenses/>.
 
import gcc
 
# Verify that we can register custom attributes:

src/g/c/gcc-python-plugin-HEAD/tests/examples/attributes-with-macros/script.py   gcc-python-plugin(Download)
#   <http://www.gnu.org/licenses/>.
 
import gcc
 
def attribute_callback_for_claims_mutex(*args):

src/g/c/gcc-python-plugin-HEAD/examples/show-ssa.py   gcc-python-plugin(Download)
# Sample python script, to be run by our gcc plugin
# Show the SSA form of each function, using GraphViz
import gcc
from gccutils import get_src_for_loc, cfg_to_dot, invoke_dot
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next