(args)
return 0
Prints the parser's internal representation of Lua code.

    Args:
      args: The argparser parsed args object.

    Returns:
      0 on success, 1 on failure.
Prints the parser's internal representation of Lua code.
Prints the parser s internal representation of Lua code .
def printast(args):
    """Prints the parser's internal representation of Lua code.

    Args:
      args: The argparser parsed args object.

    Returns:
      0 on success, 1 on failure.
    """
    for fname, g in _games_for_filenames(args.filename):
        if g is None:
            util.error('{}: could not load cart\n'.format(fname))
            if len(args.filename) == 1:
                return 1
            continue
        if len(args.filename) > 1:
            util.write('=== {} ===\n'.format(g.filename))
        _printast_node(g.lua.root)
    return 0
def printast ( args ) : for fname , g in _games_for_filenames ( args . filename ) : if g is None : util . error ( '{}: could not load cart\n' . format ( fname ) ) if len ( args . filename ) == 1 : return 1 continue if len ( args . filename ) > 1 : util . write ( '=== {} ===\n' . format ( g . filename ) ) _printast_node ( g . lua . root ) return 0