yast2-core
|
#include <dirent.h>
#include <getopt.h>
#include <stdio.h>
#include <sys/stat.h>
#include <fstream>
#include <YCP.h>
#include <ycp/YCode.h>
#include <ycp/Parser.h>
#include <ycp/YBlock.h>
#include <ycp/Bytecode.h>
#include <ycp/y2log.h>
#include <ycp/pathsearch.h>
#include <y2/Y2Component.h>
#include <y2/Y2ComponentCreator.h>
#include "config.h"
Classes | |
class | TestY2Component |
class | TestY2CC |
Functions | |
int | processfile (const char *infname, char *outfname) |
int | recurse (const char *path) |
void | print_help (const char *name) |
void | print_version () |
int | main (int argc, char *argv[]) |
Variables | |
TestY2Component | TestComponent |
TestY2CC | cc |
int | SymbolTableDebug |
static Parser * | parser = 0 |
static char * | outname = 0 |
static int | quiet = 0 |
static int | recursive = 0 |
static int | parse = 0 |
static int | print = 0 |
static int | compile = 0 |
static int | run = 0 |
int main | ( | int | argc, |
char * | argv[] | ||
) |
main() function
References YCPPathSearch::addPath(), compile, YCPPathSearch::Include, YCPPathSearch::initialize(), YCPPathSearch::Module, outname, parse, print, print_help(), print_version(), processfile(), quiet, recurse(), recursive, run, and set_log_filename().
void print_help | ( | const char * | name | ) |
Display help text
Referenced by main().
int processfile | ( | const char * | infname, |
char * | outfname | ||
) |
Process one file
References compile, YCPElement::isNull(), parse, Parser::parse(), print, quiet, Bytecode::readFile(), run, Parser::setBuffered(), Parser::setInput(), SymbolTableDebug, and Bytecode::writeFile().
int recurse | ( | const char * | path | ) |
TestY2CC cc |
|
static |
Referenced by main(), and processfile().
|
static |
Referenced by main().
|
static |
Referenced by main(), and processfile().
|
static |
|
static |
Referenced by main(), and processfile().
|
static |
Referenced by main(), and processfile().
|
static |
Referenced by main().
|
static |
Referenced by main(), processfile(), and AnyAgent::writeValueByPath().
int SymbolTableDebug |
Referenced by processfile().
TestY2Component TestComponent |
Referenced by TestY2CC::provideNamespace().