mow.cli: github.com/jawher/mow.cli/internal/parser Index | Files

package parser

import "github.com/jawher/mow.cli/internal/parser"

Index

Package Files

parser.go

func Parse Uses

func Parse(tokens []*lexer.Token, params Params) (*fsm.State, error)

Parse transforms a slice of tokens into an FSM or returns an ParseError

type Params Uses

type Params struct {
    Spec       string
    Options    []*container.Container
    OptionsIdx map[string]*container.Container
    Args       []*container.Container
    ArgsIdx    map[string]*container.Container
}

Params are used to cofigure the parser

Package parser imports 5 packages (graph) and is imported by 3 packages. Updated 2019-03-09. Refresh now. Tools for package owners.