Skip to content

Commit ba4fb82

Browse files
committed
C#: Add DB upgrade script
1 parent b79fc87 commit ba4fb82

File tree

5 files changed

+3793
-0
lines changed

5 files changed

+3793
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
class LocalVariable extends @local_variable {
2+
string toString() { none() }
3+
}
4+
5+
class TypeOrRef extends @type_or_ref {
6+
string toString() { none() }
7+
}
8+
9+
class LocalVarDeclExpr extends @local_var_decl_expr {
10+
string toString() { none() }
11+
}
12+
13+
from LocalVariable l, int implicitly_typed, TypeOrRef type, LocalVarDeclExpr parent
14+
where localvars(l, _, _, implicitly_typed, type, parent)
15+
select l, implicitly_typed, type, parent
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
class LocalVariable extends @local_variable {
2+
string toString() { none() }
3+
}
4+
5+
from LocalVariable l, int kind, string name
6+
where localvars(l, kind, name, _, _, _)
7+
select l, kind, name

0 commit comments

Comments
 (0)