• Home
  • Raw
  • Download

Lines Matching full:context

51 #include "parser/context/parserContext.h"
233 static void CompileJob(public_lib::Context *context, varbinder::FunctionScope *scope, in CompileJob() argument
239 …compiler::ETSGen cg {&allocator, &regSpiller, context, std::make_tuple(scope, programElement, &ast… in CompileJob()
248 auto *res = new Context; in CreateContext()
292 auto *res = new Context; in CreateContextFromFile()
300 auto *res = new Context; in CreateContextFromFile()
315 __attribute__((unused)) static Context *Parse(Context *ctx) in Parse()
346 __attribute__((unused)) static Context *InitScopes(Context *ctx) in InitScopes()
375 __attribute__((unused)) static Context *Check(Context *ctx) in Check()
415 __attribute__((unused)) static Context *Lower(Context *ctx) in Lower()
443 __attribute__((unused)) static Context *GenerateAsm(Context *ctx) in GenerateAsm()
459 // Handle context literals. in GenerateAsm()
486 __attribute__((unused)) Context *GenerateBin(Context *ctx) in GenerateBin()
513 extern "C" __attribute__((unused)) es2panda_Context *ProceedToState(es2panda_Context *context, in ProceedToState() argument
516 auto *ctx = reinterpret_cast<Context *>(context); in ProceedToState()
546 extern "C" __attribute__((unused)) void DestroyContext(es2panda_Context *context) in DestroyContext() argument
548 auto *ctx = reinterpret_cast<Context *>(context); in DestroyContext()
561 extern "C" __attribute__((unused)) es2panda_ContextState ContextState(es2panda_Context *context) in ContextState() argument
563 auto *s = reinterpret_cast<Context *>(context); in ContextState()
567 extern "C" __attribute__((unused)) char const *ContextErrorMessage(es2panda_Context *context) in ContextErrorMessage() argument
569 auto *s = reinterpret_cast<Context *>(context); in ContextErrorMessage()
573 extern "C" __attribute__((unused)) es2panda_Program *ContextProgram(es2panda_Context *context) in ContextProgram() argument
575 auto *ctx = reinterpret_cast<Context *>(context); in ContextProgram()
643 extern "C" void *AllocMemory(es2panda_Context *context, size_t numberOfElements, size_t sizeOfEleme… in SET_NUMBER_LITERAL_IMPL()
645 auto *allocator = reinterpret_cast<Context *>(context)->allocator; in SET_NUMBER_LITERAL_IMPL()
650 extern "C" es2panda_SourcePosition *CreateSourcePosition(es2panda_Context *context, size_t index, s… in CreateSourcePosition() argument
652 auto *allocator = reinterpret_cast<Context *>(context)->allocator; in CreateSourcePosition()
656 extern "C" es2panda_SourceRange *CreateSourceRange(es2panda_Context *context, es2panda_SourcePositi… in CreateSourceRange() argument
659 auto *allocator = reinterpret_cast<Context *>(context)->allocator; in CreateSourceRange()
665 extern "C" size_t SourcePositionIndex([[maybe_unused]] es2panda_Context *context, es2panda_SourcePo… in SourcePositionIndex() argument
670 extern "C" size_t SourcePositionLine([[maybe_unused]] es2panda_Context *context, es2panda_SourcePos… in SourcePositionLine() argument
675 extern "C" es2panda_SourcePosition *SourceRangeStart([[maybe_unused]] es2panda_Context *context, in SourceRangeStart() argument
678 auto *allocator = reinterpret_cast<Context *>(context)->allocator; in SourceRangeStart()
683 extern "C" es2panda_SourcePosition *SourceRangeEnd([[maybe_unused]] es2panda_Context *context, in SourceRangeEnd() argument
686 auto *allocator = reinterpret_cast<Context *>(context)->allocator; in SourceRangeEnd()