C#: Add DB upgrade script

This commit is contained in:
Tom Hvitved
2019-11-28 11:30:00 +01:00
parent b79fc87961
commit ba4fb82a08
5 changed files with 3793 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
class LocalVariable extends @local_variable {
string toString() { none() }
}
class TypeOrRef extends @type_or_ref {
string toString() { none() }
}
class LocalVarDeclExpr extends @local_var_decl_expr {
string toString() { none() }
}
from LocalVariable l, int implicitly_typed, TypeOrRef type, LocalVarDeclExpr parent
where localvars(l, _, _, implicitly_typed, type, parent)
select l, implicitly_typed, type, parent

View File

@@ -0,0 +1,7 @@
class LocalVariable extends @local_variable {
string toString() { none() }
}
from LocalVariable l, int kind, string name
where localvars(l, kind, name, _, _, _)
select l, kind, name

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,4 @@
description: Split up localvars table into localvars and localvar_info
compatibility: full
localvar_info.rel: run localvar_info.rel
localvars.rel: run localvars.rel