Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
[
Member {
obj: FreeVar(
"require",
),
prop: Constant(
Str(
Atom(
"context",
),
),
),
ast_path: [
Program(
Script,
),
Script(
Body(
1,
),
),
Stmt(
Decl,
),
Decl(
Var,
),
VarDecl(
Decls(
0,
),
),
VarDeclarator(
Init,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Member,
),
],
span: 70..85,
in_try: false,
},
FreeVar {
var: FreeVar(
"require",
),
ast_path: [
Program(
Script,
),
Script(
Body(
1,
),
),
Stmt(
Decl,
),
Decl(
Var,
),
VarDecl(
Decls(
0,
),
),
VarDeclarator(
Init,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Member,
),
MemberExpr(
Obj,
),
Expr(
Ident,
),
],
span: 70..77,
in_try: false,
},
MemberCall {
obj: FreeVar(
"require",
),
prop: Constant(
Str(
Atom(
"context",
),
),
),
args: [
Value(
Constant(
Str(
Atom(
"./test",
),
),
),
),
Value(
Constant(
False,
),
),
Value(
Constant(
Regex(
(
"\\.test\\.js$",
"",
),
),
),
),
],
ast_path: [
Program(
Script,
),
Script(
Body(
1,
),
),
Stmt(
Decl,
),
Decl(
Var,
),
VarDecl(
Decls(
0,
),
),
VarDeclarator(
Init,
),
Expr(
Call,
),
],
span: 70..117,
in_try: false,
new: false,
},
Call {
func: Variable(
(
"importAll",
#2,
),
),
args: [
Value(
Variable(
(
"context",
#2,
),
),
),
],
ast_path: [
Program(
Script,
),
Script(
Body(
2,
),
),
Stmt(
Decl,
),
Decl(
Var,
),
VarDecl(
Decls(
0,
),
),
VarDeclarator(
Init,
),
Expr(
Call,
),
],
span: 133..151,
in_try: false,
new: false,
},
Member {
obj: Variable(
(
"context",
#2,
),
),
prop: Constant(
Str(
Atom(
"resolve",
),
),
),
ast_path: [
Program(
Script,
),
Script(
Body(
3,
),
),
Stmt(
Decl,
),
Decl(
Var,
),
VarDecl(
Decls(
0,
),
),
VarDeclarator(
Init,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Member,
),
],
span: 164..179,
in_try: false,
},
MemberCall {
obj: Variable(
(
"context",
#2,
),
),
prop: Constant(
Str(
Atom(
"resolve",
),
),
),
args: [
Value(
Constant(
Str(
Atom(
"./a",
),
),
),
),
],
ast_path: [
Program(
Script,
),
Script(
Body(
3,
),
),
Stmt(
Decl,
),
Decl(
Var,
),
VarDecl(
Decls(
0,
),
),
VarDeclarator(
Init,
),
Expr(
Call,
),
],
span: 164..186,
in_try: false,
new: false,
},
Member {
obj: MemberCall(
3,
Variable(
(
"r",
#3,
),
),
Constant(
Str(
Atom(
"keys",
),
),
),
[],
),
prop: Constant(
Str(
Atom(
"map",
),
),
),
ast_path: [
Program(
Script,
),
Script(
Body(
0,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
Return,
),
ReturnStmt(
Arg,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Member,
),
],
span: 34..46,
in_try: false,
},
Member {
obj: Variable(
(
"r",
#3,
),
),
prop: Constant(
Str(
Atom(
"keys",
),
),
),
ast_path: [
Program(
Script,
),
Script(
Body(
0,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
Return,
),
ReturnStmt(
Arg,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Member,
),
MemberExpr(
Obj,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Member,
),
],
span: 34..40,
in_try: false,
},
MemberCall {
obj: Variable(
(
"r",
#3,
),
),
prop: Constant(
Str(
Atom(
"keys",
),
),
),
args: [],
ast_path: [
Program(
Script,
),
Script(
Body(
0,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
Return,
),
ReturnStmt(
Arg,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Member,
),
MemberExpr(
Obj,
),
Expr(
Call,
),
],
span: 34..42,
in_try: false,
new: false,
},
MemberCall {
obj: MemberCall(
3,
Variable(
(
"r",
#3,
),
),
Constant(
Str(
Atom(
"keys",
),
),
),
[],
),
prop: Constant(
Str(
Atom(
"map",
),
),
),
args: [
Value(
Variable(
(
"r",
#3,
),
),
),
],
ast_path: [
Program(
Script,
),
Script(
Body(
0,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
Return,
),
ReturnStmt(
Arg,
),
Expr(
Call,
),
],
span: 34..49,
in_try: false,
new: false,
},
Unreachable {
start_ast_path: [
Program(
Script,
),
Script(
Body(
0,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
Return,
),
],
},
]