[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/m0dulo/LyxPythonVM/master/src/code/codeObject.hpp [Back]  [Original]

#ifndef CODE_OBJECT_HPP
#define CODE_OBJECT_HPP

#include "object/lyxObject.hpp"

class LyxString;

template  class ArrayList;

class CodeObject : public LyxObject {
public:
  int _argcount;
  int _nlocals;
  int _stack_size;
  int _flag;

  LyxString *_bytecodes;
  ArrayList *_names;
  ArrayList *_consts;
  ArrayList *_var_names;

  ArrayList *_free_vars;
  ArrayList *_cell_vars;

  LyxString *_co_name;
  LyxString *_file_name;

  int _lineno;
  LyxString *_notable;
  CodeObject(int argcount, int nlocals, int stacksize, int flag,
             LyxString *bytecodes, ArrayList *consts,
             ArrayList *names, ArrayList *varnames,
             ArrayList *freevars, ArrayList *cellvars,
             LyxString *file_name, LyxString *co_name, int lineno,
             LyxString *notable);
};

#endif

Web Proxy Viewer  |  New URL  |  Original Page