lib: move table_names to separate dir
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
abstract class JMdictTableNames {
|
||||
static const String entry = 'JMdict_Entry';
|
||||
static const String kanjiElement = 'JMdict_KanjiElement';
|
||||
static const String kanjiInfo = 'JMdict_KanjiElementInfo';
|
||||
static const String readingElement = 'JMdict_ReadingElement';
|
||||
static const String readingInfo = 'JMdict_ReadingElementInfo';
|
||||
static const String readingRestriction = 'JMdict_ReadingElementRestriction';
|
||||
static const String sense = 'JMdict_Sense';
|
||||
static const String senseAntonyms = 'JMdict_SenseAntonym';
|
||||
static const String senseDialect = 'JMdict_SenseDialect';
|
||||
static const String senseField = 'JMdict_SenseField';
|
||||
static const String senseGlossary = 'JMdict_SenseGlossary';
|
||||
static const String senseInfo = 'JMdict_SenseInfo';
|
||||
static const String senseMisc = 'JMdict_SenseMisc';
|
||||
static const String sensePOS = 'JMdict_SensePOS';
|
||||
static const String senseLanguageSource = 'JMdict_SenseLanguageSource';
|
||||
static const String senseRestrictedToKanji = 'JMdict_SenseRestrictedToKanji';
|
||||
static const String senseRestrictedToReading =
|
||||
'JMdict_SenseRestrictedToReading';
|
||||
static const String senseSeeAlso = 'JMdict_SenseSeeAlso';
|
||||
|
||||
static Set<String> get allTables => {
|
||||
entry,
|
||||
kanjiElement,
|
||||
kanjiInfo,
|
||||
readingElement,
|
||||
readingInfo,
|
||||
readingRestriction,
|
||||
sense,
|
||||
senseAntonyms,
|
||||
senseDialect,
|
||||
senseField,
|
||||
senseGlossary,
|
||||
senseInfo,
|
||||
senseMisc,
|
||||
sensePOS,
|
||||
senseLanguageSource,
|
||||
senseRestrictedToKanji,
|
||||
senseRestrictedToReading,
|
||||
senseSeeAlso
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
abstract class KANJIDICTableNames {
|
||||
static const String character = 'KANJIDIC_Character';
|
||||
static const String radicalName = 'KANJIDIC_RadicalName';
|
||||
static const String codepoint = 'KANJIDIC_Codepoint';
|
||||
static const String radical = 'KANJIDIC_Radical';
|
||||
static const String strokeMiscount = 'KANJIDIC_StrokeMiscount';
|
||||
static const String variant = 'KANJIDIC_Variant';
|
||||
static const String dictionaryReference =
|
||||
'_KANJIDIC_DictionaryReference_Part1';
|
||||
static const String dictionaryReferenceMoro =
|
||||
'_KANJIDIC_DictionaryReference_Moro';
|
||||
static const String queryCode = 'KANJIDIC_QueryCode';
|
||||
static const String reading = 'KANJIDIC_Reading';
|
||||
static const String kunyomi = 'KANJIDIC_Kunyomi';
|
||||
static const String onyomi = 'KANJIDIC_Onyomi';
|
||||
static const String meaning = 'KANJIDIC_Meaning';
|
||||
static const String nanori = 'KANJIDIC_Nanori';
|
||||
|
||||
static Set<String> get allTables => {
|
||||
character,
|
||||
radicalName,
|
||||
codepoint,
|
||||
radical,
|
||||
strokeMiscount,
|
||||
variant,
|
||||
dictionaryReference,
|
||||
dictionaryReferenceMoro,
|
||||
queryCode,
|
||||
reading,
|
||||
kunyomi,
|
||||
onyomi,
|
||||
meaning,
|
||||
nanori
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
abstract class RADKFILETableNames {
|
||||
static const String radkfile = 'RADKFILE';
|
||||
|
||||
static Set<String> get allTables => {
|
||||
radkfile,
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
abstract class TanosJLPTTableNames {
|
||||
static const String jlptTag = 'JMdict_JLPTTag';
|
||||
|
||||
static Set<String> get allTables => {jlptTag};
|
||||
}
|
||||
Reference in New Issue
Block a user