Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseLayout ¶
func ParseLayout(file *os.File) (*parse.ParsedLayout, error)
ParseLayout returns a ParsedLayout for the file
Types ¶
type MatchingParsers ¶
type MatchingParsers []parse.ParsedLayout
MatchingParsers is a list parsed layouts with different Parser
func MatchAll ¶
func MatchAll(file *os.File) (MatchingParsers, error)
MatchAll returns all matching parsers
func (*MatchingParsers) ChoseOne ¶
func (mp *MatchingParsers) ChoseOne(file *os.File) (*parse.ParsedLayout, error)
ChoseOne asks the user to select one of the matching parsers
func (*MatchingParsers) First ¶
func (mp *MatchingParsers) First() *parse.ParsedLayout
First returns the first matching Parser
Click to show internal directories.
Click to hide internal directories.