Documentation
¶
Index ¶
- Variables
- func ANDMatcher(group string, subgroups []string) interface{}
- func ChoiceMatcher(group string, subgroups []string) interface{}
- func ConsentMatcher(group string, subgroups []string) interface{}
- func CoreCompletionMatcher(group string, subgroups []string) interface{}
- func CoreMatcher(group string, subgroups []string) interface{}
- func CourseMatcher(group string, subgroups []string) interface{}
- func CourseMinGradeMatcher(group string, subgroups []string) interface{}
- func GPAMatcher(group string, subgroups []string) interface{}
- func GroupTagMatcher(group string, subgroups []string) interface{}
- func LimitMatcher(group string, subgroups []string) interface{}
- func MajorMatcher(group string, subgroups []string) interface{}
- func MajorMinorMatcher(group string, subgroups []string) interface{}
- func MinorMatcher(group string, subgroups []string) interface{}
- func ORMatcher(group string, subgroups []string) interface{}
- func OtherMatcher(group string, subgroups []string) interface{}
- func Parse(inDir string, outDir string, csvPath string, skipValidation bool)
- func SubstitutionMatcher(parseFnc func(string, []string) interface{}) func(string, []string) interface{}
- func ThrowawayMatcher(group string, subgroups []string) interface{}
- type Matcher
Constants ¶
This section is empty.
Variables ¶
View Source
var ANDRegex = regexp.MustCompile(`(?i)\s+and\s+`)
View Source
var CourseIDMap = make(map[primitive.ObjectID]string)
Auxilliary dictionaries for mapping the generated ObjectIDs to the keys used in the above maps, used for validation purposes
View Source
var Courses = make(map[string]*schema.Course)
View Source
var GradeMap map[string]map[string][]int
Grade mappings for section grade distributions, mapping is MAP[SEMESTER] -> MAP[SUBJECT + NUMBER + SECTION] -> GRADE DISTRIBUTION
View Source
var Matchers []Matcher
Matcher container, matchers must be in order of precedence NOTE: PARENTHESES ARE OF HIGHEST PRECEDENCE! (This is due to groupParens() handling grouping of parenthesized text before parsing begins)
View Source
var ORRegex = regexp.MustCompile(`(?i)\s+or\s+`)
View Source
var ProfessorIDMap = make(map[primitive.ObjectID]string)
View Source
var Professors = make(map[string]*schema.Professor)
View Source
var ReqParsers = make(map[primitive.ObjectID]func())
Requisite parser closures associated with courses
Main dictionaries for mapping unique keys to the actual data
Functions ¶
func ANDMatcher ¶
func ChoiceMatcher ¶
func ConsentMatcher ¶
func CoreCompletionMatcher ¶
func CoreMatcher ¶
func CourseMatcher ¶
func CourseMinGradeMatcher ¶
func GPAMatcher ¶
func GroupTagMatcher ¶
func LimitMatcher ¶
func MajorMatcher ¶
func MajorMinorMatcher ¶
func MinorMatcher ¶
func OtherMatcher ¶
func SubstitutionMatcher ¶
func ThrowawayMatcher ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.