Line |
Branch |
Exec |
Source |
1 |
|
|
#include "plugin/example.h" |
2 |
|
|
|
3 |
|
|
|
4 |
|
|
using StmtRet = ExampleVisitor::StmtRet; |
5 |
|
|
using ExprRet = ExampleVisitor::ExprRet; |
6 |
|
|
using ModRet = ExampleVisitor::ModRet; |
7 |
|
|
using PatRet = ExampleVisitor::PatRet; |
8 |
|
|
|
9 |
|
|
ExprRet ExampleVisitor::boolop(BoolOp_t* n, int depth) { return ExprRet(); } |
10 |
|
|
ExprRet ExampleVisitor::namedexpr(NamedExpr_t* n, int depth) { return ExprRet(); } |
11 |
|
|
ExprRet ExampleVisitor::compare(Compare_t* n, int depth) { return ExprRet(); } |
12 |
|
|
ExprRet ExampleVisitor::binop(BinOp_t* n, int depth) { return ExprRet(); } |
13 |
|
|
ExprRet ExampleVisitor::unaryop(UnaryOp_t* n, int depth) { return ExprRet(); } |
14 |
|
|
ExprRet ExampleVisitor::lambda(Lambda_t* n, int depth) { return ExprRet(); } |
15 |
|
|
ExprRet ExampleVisitor::ifexp(IfExp_t* n, int depth) { return ExprRet(); } |
16 |
|
|
ExprRet ExampleVisitor::dictexpr(DictExpr_t* n, int depth) { return ExprRet(); } |
17 |
|
|
ExprRet ExampleVisitor::setexpr(SetExpr_t* n, int depth) { return ExprRet(); } |
18 |
|
|
ExprRet ExampleVisitor::listcomp(ListComp_t* n, int depth) { return ExprRet(); } |
19 |
|
|
ExprRet ExampleVisitor::generateexpr(GeneratorExp_t* n, int depth) { return ExprRet(); } |
20 |
|
|
ExprRet ExampleVisitor::setcomp(SetComp_t* n, int depth) { return ExprRet(); } |
21 |
|
|
ExprRet ExampleVisitor::dictcomp(DictComp_t* n, int depth) { return ExprRet(); } |
22 |
|
|
ExprRet ExampleVisitor::await(Await_t* n, int depth) { return ExprRet(); } |
23 |
|
|
ExprRet ExampleVisitor::yield(Yield_t* n, int depth) { return ExprRet(); } |
24 |
|
|
ExprRet ExampleVisitor::yieldfrom(YieldFrom_t* n, int depth) { return ExprRet(); } |
25 |
|
|
ExprRet ExampleVisitor::call(Call_t* n, int depth) { return ExprRet(); } |
26 |
|
|
ExprRet ExampleVisitor::joinedstr(JoinedStr_t* n, int depth) { return ExprRet(); } |
27 |
|
|
ExprRet ExampleVisitor::formattedvalue(FormattedValue_t* n, int depth) { return ExprRet(); } |
28 |
|
|
ExprRet ExampleVisitor::constant(Constant_t* n, int depth) { return ExprRet(); } |
29 |
|
|
ExprRet ExampleVisitor::attribute(Attribute_t* n, int depth) { return ExprRet(); } |
30 |
|
|
ExprRet ExampleVisitor::subscript(Subscript_t* n, int depth) { return ExprRet(); } |
31 |
|
|
ExprRet ExampleVisitor::starred(Starred_t* n, int depth) { return ExprRet(); } |
32 |
|
|
ExprRet ExampleVisitor::name(Name_t* n, int depth) { return ExprRet(); } |
33 |
|
|
ExprRet ExampleVisitor::listexpr(ListExpr_t* n, int depth) { return ExprRet(); } |
34 |
|
|
ExprRet ExampleVisitor::tupleexpr(TupleExpr_t* n, int depth) { return ExprRet(); } |
35 |
|
|
ExprRet ExampleVisitor::slice(Slice_t* n, int depth) { return ExprRet(); } |
36 |
|
|
ExprRet ExampleVisitor::dicttype(DictType_t* n, int depth) { return ExprRet(); } |
37 |
|
|
ExprRet ExampleVisitor::arraytype(ArrayType_t* n, int depth) { return ExprRet(); } |
38 |
|
|
ExprRet ExampleVisitor::arrow(Arrow_t* n, int depth) { return ExprRet(); } |
39 |
|
|
ExprRet ExampleVisitor::builtintype(BuiltinType_t* n, int depth) { return ExprRet(); } |
40 |
|
|
ExprRet ExampleVisitor::tupletype(TupleType_t* n, int depth) { return ExprRet(); } |
41 |
|
|
ExprRet ExampleVisitor::settype(SetType_t* n, int depth) { return ExprRet(); } |
42 |
|
|
ExprRet ExampleVisitor::classtype(ClassType_t* n, int depth) { return ExprRet(); } |
43 |
|
|
ExprRet ExampleVisitor::comment(Comment_t* n, int depth) { return ExprRet(); } |
44 |
|
|
|
45 |
|
|
StmtRet ExampleVisitor::functiondef(FunctionDef_t* n, int depth) { return StmtRet(); } |
46 |
|
|
StmtRet ExampleVisitor::classdef(ClassDef_t* n, int depth) { return StmtRet(); } |
47 |
|
|
StmtRet ExampleVisitor::invalidstmt(InvalidStatement_t* n, int depth) { return StmtRet(); } |
48 |
|
|
StmtRet ExampleVisitor::returnstmt(Return_t* n, int depth) { return StmtRet(); } |
49 |
|
|
StmtRet ExampleVisitor::deletestmt(Delete_t* n, int depth) { return StmtRet(); } |
50 |
|
|
StmtRet ExampleVisitor::assign(Assign_t* n, int depth) { return StmtRet(); } |
51 |
|
|
StmtRet ExampleVisitor::augassign(AugAssign_t* n, int depth) { return StmtRet(); } |
52 |
|
|
StmtRet ExampleVisitor::annassign(AnnAssign_t* n, int depth) { return StmtRet(); } |
53 |
|
|
StmtRet ExampleVisitor::forstmt(For_t* n, int depth) { return StmtRet(); } |
54 |
|
|
StmtRet ExampleVisitor::whilestmt(While_t* n, int depth) { return StmtRet(); } |
55 |
|
|
StmtRet ExampleVisitor::ifstmt(If_t* n, int depth) { return StmtRet(); } |
56 |
|
|
StmtRet ExampleVisitor::with(With_t* n, int depth) { return StmtRet(); } |
57 |
|
|
StmtRet ExampleVisitor::raise(Raise_t* n, int depth) { return StmtRet(); } |
58 |
|
|
StmtRet ExampleVisitor::trystmt(Try_t* n, int depth) { return StmtRet(); } |
59 |
|
|
StmtRet ExampleVisitor::assertstmt(Assert_t* n, int depth) { return StmtRet(); } |
60 |
|
|
StmtRet ExampleVisitor::global(Global_t* n, int depth) { return StmtRet(); } |
61 |
|
|
StmtRet ExampleVisitor::nonlocal(Nonlocal_t* n, int depth) { return StmtRet(); } |
62 |
|
|
StmtRet ExampleVisitor::exprstmt(Expr_t* n, int depth) { return StmtRet(); } |
63 |
|
|
StmtRet ExampleVisitor::pass(Pass_t* n, int depth) { return StmtRet(); } |
64 |
|
|
StmtRet ExampleVisitor::breakstmt(Break_t* n, int depth) { return StmtRet(); } |
65 |
|
|
StmtRet ExampleVisitor::continuestmt(Continue_t* n, int depth) { return StmtRet(); } |
66 |
|
|
StmtRet ExampleVisitor::match(Match_t* n, int depth) { return StmtRet(); } |
67 |
|
|
StmtRet ExampleVisitor::inlinestmt(Inline_t* n, int depth) { return StmtRet(); } |
68 |
|
|
|
69 |
|
|
StmtRet ExampleVisitor::import(Import_t* n, int depth) { return StmtRet(); } |
70 |
|
|
StmtRet ExampleVisitor::importfrom(ImportFrom_t* n, int depth) { return StmtRet(); } |
71 |
|
|
|
72 |
|
|
PatRet ExampleVisitor::matchvalue(MatchValue_t* n, int depth) { return PatRet(); } |
73 |
|
|
PatRet ExampleVisitor::matchsingleton(MatchSingleton_t* n, int depth) { return PatRet(); } |
74 |
|
|
PatRet ExampleVisitor::matchsequence(MatchSequence_t* n, int depth) { return PatRet(); } |
75 |
|
|
PatRet ExampleVisitor::matchmapping(MatchMapping_t* n, int depth) { return PatRet(); } |
76 |
|
|
PatRet ExampleVisitor::matchclass(MatchClass_t* n, int depth) { return PatRet(); } |
77 |
|
|
PatRet ExampleVisitor::matchstar(MatchStar_t* n, int depth) { return PatRet(); } |
78 |
|
|
PatRet ExampleVisitor::matchas(MatchAs_t* n, int depth) { return PatRet(); } |
79 |
|
|
PatRet ExampleVisitor::matchor(MatchOr_t* n, int depth) { return PatRet(); } |
80 |
|
|
|
81 |
|
|
ModRet ExampleVisitor::module(Module_t* stmt, int depth) { return ModRet(); }; |
82 |
|
|
ModRet ExampleVisitor::interactive(Interactive_t* n, int depth) { return ModRet(); } |
83 |
|
|
ModRet ExampleVisitor::functiontype(FunctionType_t* n, int depth) { return ModRet(); } |
84 |
|
|
ModRet ExampleVisitor::expression(Expression_t* n, int depth) { return ModRet(); } |
85 |
|
|
|
86 |
|
|
extern "C" { |
87 |
|
|
VisitorPlugin_C make_plugin() { |
88 |
|
✗ |
return new ExampleVisitor(); |
89 |
|
|
} |
90 |
|
|
void free_plugin(VisitorPlugin_C* plugin) { |
91 |
|
✗ |
return delete ((ExampleVisitor*)(plugin)); |
92 |
|
|
} |
93 |
|
|
} |
94 |
|
|
|