• Home
  • Raw
  • Download

Lines Matching full:context

71 #include "parser/context/parserContext.h"
407 static void CompileJob(public_lib::Context *context, varbinder::FunctionScope *scope, in CompileJob() argument
413 …compiler::ETSGen cg {&allocator, &regSpiller, context, std::make_tuple(scope, programElement, &ast… in CompileJob()
422 auto *res = new Context; in CreateContext()
465 auto *res = new Context; in CreateContextFromFile()
473 auto *res = new Context; in CreateContextFromFile()
487 static Context *Parse(Context *ctx) in Parse()
508 static Context *InitScopes(Context *ctx) in InitScopes()
539 static Context *Check(Context *ctx) in Check()
577 static Context *Lower(Context *ctx) in Lower()
605 static Context *GenerateAsm(Context *ctx) in GenerateAsm()
621 // Handle context literals. in GenerateAsm()
648 Context *GenerateBin(Context *ctx) in GenerateBin()
675 extern "C" es2panda_Context *ProceedToState(es2panda_Context *context, es2panda_ContextState state) in ProceedToState() argument
677 auto *ctx = reinterpret_cast<Context *>(context); in ProceedToState()
707 extern "C" void DestroyContext(es2panda_Context *context) in DestroyContext() argument
709 auto *ctx = reinterpret_cast<Context *>(context); in DestroyContext()
722 extern "C" es2panda_ContextState ContextState(es2panda_Context *context) in ContextState() argument
724 auto *s = reinterpret_cast<Context *>(context); in ContextState()
728 extern "C" char const *ContextErrorMessage(es2panda_Context *context) in ContextErrorMessage() argument
730 auto *s = reinterpret_cast<Context *>(context); in ContextErrorMessage()
734 extern "C" es2panda_Program *ContextProgram(es2panda_Context *context) in ContextProgram() argument
736 auto *ctx = reinterpret_cast<Context *>(context); in ContextProgram()
803 extern "C" void AstNodeSetDecorators(es2panda_Context *context, es2panda_AstNode *ast, es2panda_Ast… in AstNodeSetDecorators() argument
806 auto *ctx = reinterpret_cast<Context *>(context); in AstNodeSetDecorators()
890 extern "C" es2panda_AstNode *CreateArrowFunctionExpression(es2panda_Context *context, es2panda_AstN… in IS()
892 auto *ctx = reinterpret_cast<Context *>(context); in IS()
905 extern "C" es2panda_AstNode *CreateAsExpression(es2panda_Context *context, es2panda_AstNode *expr, in CreateAsExpression() argument
908 auto *ctx = reinterpret_cast<Context *>(context); in CreateAsExpression()
967 extern "C" es2panda_AstNode *CreateAssignmentExpression(es2panda_Context *context, es2panda_AstNode… in CreateAssignmentExpression() argument
970 auto *ctx = reinterpret_cast<Context *>(context); in CreateAssignmentExpression()
1031 extern "C" es2panda_AstNode *CreateBinaryExpression(es2panda_Context *context, es2panda_AstNode *le… in CreateBinaryExpression() argument
1034 auto *ctx = reinterpret_cast<Context *>(context); in CreateBinaryExpression()
1068 extern "C" es2panda_AstNode *CreateBlockStatement(es2panda_Context *context) in CreateBlockStatement() argument
1070 auto *ctx = reinterpret_cast<Context *>(context); in CreateBlockStatement()
1093 extern "C" es2panda_AstNode *CreateCallExpression(es2panda_Context *context, es2panda_AstNode *call… in CreateCallExpression() argument
1097 auto *ctx = reinterpret_cast<Context *>(context); in CreateCallExpression()
1147 extern "C" es2panda_AstNode *CreateChainExpression(es2panda_Context *context, es2panda_AstNode *chi… in CreateChainExpression() argument
1149 auto *ctx = reinterpret_cast<Context *>(context); in CreateChainExpression()
1162 extern "C" es2panda_AstNode *CreateClassDeclaration(es2panda_Context *context, es2panda_AstNode *de… in CreateClassDeclaration() argument
1164 auto *ctx = reinterpret_cast<Context *>(context); in CreateClassDeclaration()
1177 extern "C" es2panda_AstNode *CreateClassDefinition(es2panda_Context *context, es2panda_AstNode *ide… in CreateClassDefinition() argument
1180 auto *ctx = reinterpret_cast<Context *>(context); in CreateClassDefinition()
1307 extern "C" es2panda_AstNode *CreateClassImplementsClause(es2panda_Context *context, es2panda_AstNod… in CreateClassImplementsClause() argument
1310 auto *ctx = reinterpret_cast<Context *>(context); in CreateClassImplementsClause()
1332 extern "C" es2panda_AstNode *CreateClassProperty(es2panda_Context *context, es2panda_AstNode *key, in CreateClassProperty() argument
1336 auto *ctx = reinterpret_cast<Context *>(context); in CreateClassProperty()
1355 extern "C" es2panda_AstNode *CreateExpressionStatement(es2panda_Context *context, es2panda_AstNode … in CreateExpressionStatement() argument
1357 auto *ctx = reinterpret_cast<Context *>(context); in CreateExpressionStatement()
1370 extern "C" es2panda_AstNode *CreateFunctionDeclaration(es2panda_Context *context, es2panda_AstNode … in CreateFunctionDeclaration() argument
1372 auto *ctx = reinterpret_cast<Context *>(context); in CreateFunctionDeclaration()
1385 extern "C" es2panda_AstNode *CreateFunctionExpression(es2panda_Context *context, es2panda_AstNode *… in CreateFunctionExpression() argument
1387 auto *ctx = reinterpret_cast<Context *>(context); in CreateFunctionExpression()
1400 extern "C" es2panda_AstNode *CreateFunctionTypeNode(es2panda_Context *context, es2panda_AstNode *ty… in CreateFunctionTypeNode() argument
1405 auto *ctx = reinterpret_cast<Context *>(context); in CreateFunctionTypeNode()
1450 extern "C" es2panda_AstNode *CreateIdentifier(es2panda_Context *context, char const *name, in CreateIdentifier() argument
1453 auto *ctx = reinterpret_cast<Context *>(context); in CreateIdentifier()
1465 extern "C" char const *IdentifierName(es2panda_Context *context, es2panda_AstNode *identifier) in IdentifierName() argument
1467 auto *ctx = reinterpret_cast<Context *>(context); in IdentifierName()
1495 extern "C" es2panda_AstNode *CreateIfStatement(es2panda_Context *context, es2panda_AstNode *test, in CreateIfStatement() argument
1498 auto *ctx = reinterpret_cast<Context *>(context); in CreateIfStatement()
1528 extern "C" es2panda_AstNode *CreateImportDeclaration(es2panda_Context *context, es2panda_AstNode *s… in CreateImportDeclaration() argument
1531 auto *ctx = reinterpret_cast<Context *>(context); in CreateImportDeclaration()
1561 extern "C" es2panda_AstNode *CreateImportExpression(es2panda_Context *context, es2panda_AstNode *so… in CreateImportExpression() argument
1563 auto *ctx = reinterpret_cast<Context *>(context); in CreateImportExpression()
1576 extern "C" es2panda_AstNode *CreateImportSpecifier(es2panda_Context *context, es2panda_AstNode *imp… in CreateImportSpecifier() argument
1579 auto *ctx = reinterpret_cast<Context *>(context); in CreateImportSpecifier()
1632 extern "C" es2panda_AstNode *CreateMemberExpression(es2panda_Context *context, es2panda_AstNode *ob… in CreateMemberExpression() argument
1636 auto *ctx = reinterpret_cast<Context *>(context); in CreateMemberExpression()
1709 extern "C" es2panda_AstNode *CreateMethodDefinition(es2panda_Context *context, char const *kind, es… in CreateMethodDefinition() argument
1713 auto *ctx = reinterpret_cast<Context *>(context); in CreateMethodDefinition()
1781 extern "C" es2panda_AstNode *CreateNewClassInstanceExpression(es2panda_Context *context, in CreateNewClassInstanceExpression() argument
1786 auto *ctx = reinterpret_cast<Context *>(context); in CreateNewClassInstanceExpression()
1824 extern "C" es2panda_AstNode *CreateNewArrayInstanceExpression(es2panda_Context *context, in CreateNewArrayInstanceExpression() argument
1828 auto *ctx = reinterpret_cast<Context *>(context); in CreateNewArrayInstanceExpression()
1848 extern "C" es2panda_AstNode *CreateNewMultiDimArrayInstanceExpression(es2panda_Context *context, in CreateNewMultiDimArrayInstanceExpression() argument
1852 auto *ctx = reinterpret_cast<Context *>(context); in CreateNewMultiDimArrayInstanceExpression()
1881 extern "C" es2panda_AstNode *CreateParameterDeclaration(es2panda_Context *context, es2panda_AstNode… in CreateParameterDeclaration() argument
1884 auto *ctx = reinterpret_cast<Context *>(context); in CreateParameterDeclaration()
1960 extern "C" es2panda_AstNode *CreatePrimitiveTypeNode(es2panda_Context *context, char const *type) in CreatePrimitiveTypeNode() argument
1962 auto *ctx = reinterpret_cast<Context *>(context); in CreatePrimitiveTypeNode()
1975 extern "C" es2panda_AstNode *CreateReturnStatement(es2panda_Context *context, es2panda_AstNode *arg… in CreateReturnStatement() argument
1977 auto *ctx = reinterpret_cast<Context *>(context); in CreateReturnStatement()
1996 extern "C" es2panda_AstNode *CreateScriptFunction(es2panda_Context *context, es2panda_AstNode *type… in CreateScriptFunction() argument
2002 auto *ctx = reinterpret_cast<Context *>(context); in CreateScriptFunction()
2109 extern "C" es2panda_AstNode *CreateStringLiteral(es2panda_Context *context, char const *string) in CreateStringLiteral() argument
2111 auto *ctx = reinterpret_cast<Context *>(context); in CreateStringLiteral()
2118 extern "C" char const *StringLiteralString(es2panda_Context *context, es2panda_AstNode *ast) in StringLiteralString() argument
2120 auto *ctx = reinterpret_cast<Context *>(context); in StringLiteralString()
2126 extern "C" es2panda_AstNode *CreateThisExpression(es2panda_Context *context) in CreateThisExpression() argument
2128 auto *ctx = reinterpret_cast<Context *>(context); in CreateThisExpression()
2134 extern "C" es2panda_AstNode *CreateTypeParameter(es2panda_Context *context, es2panda_AstNode *name, in CreateTypeParameter() argument
2137 auto *ctx = reinterpret_cast<Context *>(context); in CreateTypeParameter()
2166 extern "C" es2panda_AstNode *CreateTypeParameterDeclaration(es2panda_Context *context) in CreateTypeParameterDeclaration() argument
2168 auto *ctx = reinterpret_cast<Context *>(context); in CreateTypeParameterDeclaration()
2192 extern "C" es2panda_AstNode *CreateTypeParameterInstantiation(es2panda_Context *context, in CreateTypeParameterInstantiation() argument
2195 auto *ctx = reinterpret_cast<Context *>(context); in CreateTypeParameterInstantiation()
2214 extern "C" es2panda_AstNode *CreateTypeReferenceNode(es2panda_Context *context, es2panda_AstNode *p… in CreateTypeReferenceNode() argument
2216 auto *ctx = reinterpret_cast<Context *>(context); in CreateTypeReferenceNode()
2229 extern "C" es2panda_AstNode *CreateTypeReferencePart(es2panda_Context *context, es2panda_AstNode *n… in CreateTypeReferencePart() argument
2232 auto *ctx = reinterpret_cast<Context *>(context); in CreateTypeReferencePart()
2261 extern "C" es2panda_AstNode *CreateUnionTypeNode(es2panda_Context *context, es2panda_AstNode **type… in CreateUnionTypeNode() argument
2263 auto *ctx = reinterpret_cast<Context *>(context); in CreateUnionTypeNode()
2317 extern "C" es2panda_AstNode *CreateVariableDeclaration(es2panda_Context *context, char const *kind, in CreateVariableDeclaration() argument
2321 auto *ctx = reinterpret_cast<Context *>(context); in CreateVariableDeclaration()
2355 extern "C" es2panda_AstNode *CreateVariableDeclarator(es2panda_Context *context, es2panda_AstNode *… in CreateVariableDeclarator() argument
2358 auto *ctx = reinterpret_cast<Context *>(context); in CreateVariableDeclarator()