7 #ifndef LINGODEC_SCRIPT_H 8 #define LINGODEC_SCRIPT_H 10 #include "common/ptr.h" 11 #include "common/str.h" 20 class CodeWriterVisitor;
50 uint16 handlerVectorsCount;
51 uint32 handlerVectorsOffset;
52 uint32 handlerVectorsSize;
53 uint16 propertiesCount;
54 uint32 propertiesOffset;
58 uint32 handlersOffset;
60 uint32 literalsOffset;
61 uint32 literalsDataCount;
62 uint32 literalsDataOffset;
77 Script(
unsigned int version_);
81 bool validName(
int id)
const;
87 Common::String scriptText(
const char *lineEnding,
bool dotSyntax)
const;
89 Common::String bytecodeText(
const char *lineEnding,
bool dotSyntax)
const;
91 bool isFactory()
const;
96 #endif // LINGODEC_SCRIPT_H
Definition: codewritervisitor.h:14
Definition: algorithm.h:29