Debian Codegraph @

parser.go

raw symbols SCIP
1 package editorconfig
2
3 // Parser interface is responsible for the parsing of the ini file and the
4 // globbing patterns.
5 type Parser interface {
6 // ParseIni takes one .editorconfig (ini format) filename and returns its
7 // Editorconfig definition.
8 ParseIni(filename string) (*Editorconfig, error)
9
10 // ParseIni takes one .editorconfig (ini format) filename and returns its
11 // Editorconfig definition. In case of non fatal warnings, they are in
12 // a joined errors and might be ignored in some cases.
13 ParseIniGraceful(filename string) (*Editorconfig, error, error)
14
15 // FnmatchCase takes a pattern, a filename, and tells whether the given filename
16 // matches the globbing pattern.
17 FnmatchCase(pattern string, filename string) (bool, error)
18 }