package parser
import "github.com/markbates/pkger/parser"
Index ¶
- type CreateDecl
- func (d CreateDecl) File() (*File, error)
- func (d CreateDecl) MarshalJSON() ([]byte, error)
- func (d CreateDecl) Pos() (token.Pos, error)
- func (d CreateDecl) String() string
- func (d CreateDecl) Value() (string, error)
- func (d CreateDecl) VirtualPaths() []string
- type Decl
- type Decls
- type File
- type Filer
- type HTTPDecl
- func (d HTTPDecl) File() (*File, error)
- func (d HTTPDecl) Files(virtual map[string]string) ([]*File, error)
- func (d HTTPDecl) MarshalJSON() ([]byte, error)
- func (d HTTPDecl) Pos() (token.Pos, error)
- func (d HTTPDecl) String() string
- func (d HTTPDecl) Value() (string, error)
- type MkdirAllDecl
- func (d MkdirAllDecl) File() (*File, error)
- func (d MkdirAllDecl) MarshalJSON() ([]byte, error)
- func (d MkdirAllDecl) Pos() (token.Pos, error)
- func (d MkdirAllDecl) String() string
- func (d MkdirAllDecl) Value() (string, error)
- func (d MkdirAllDecl) VirtualPaths() []string
- type OpenDecl
- func (d OpenDecl) File() (*File, error)
- func (d OpenDecl) Files(virtual map[string]string) ([]*File, error)
- func (d OpenDecl) MarshalJSON() ([]byte, error)
- func (d OpenDecl) Pos() (token.Pos, error)
- func (d OpenDecl) String() string
- func (d OpenDecl) Value() (string, error)
- type StatDecl
- func (d StatDecl) File() (*File, error)
- func (d StatDecl) Files(virtual map[string]string) ([]*File, error)
- func (d StatDecl) MarshalJSON() ([]byte, error)
- func (d StatDecl) Pos() (token.Pos, error)
- func (d StatDecl) String() string
- func (d StatDecl) Value() (string, error)
- type Virtualer
- type WalkDecl
Types ¶
type CreateDecl ¶
type CreateDecl struct {
// contains filtered or unexported fields
}
func (CreateDecl) File ¶
func (d CreateDecl) File() (*File, error)
func (CreateDecl) MarshalJSON ¶
func (d CreateDecl) MarshalJSON() ([]byte, error)
func (CreateDecl) Pos ¶
func (d CreateDecl) Pos() (token.Pos, error)
func (CreateDecl) String ¶
func (d CreateDecl) String() string
func (CreateDecl) Value ¶
func (d CreateDecl) Value() (string, error)
func (CreateDecl) VirtualPaths ¶
func (d CreateDecl) VirtualPaths() []string
type Decl ¶
type Decls ¶
type Decls []Decl
func Parse ¶
func (Decls) Files ¶
type File ¶
func (File) String ¶
type Filer ¶
type HTTPDecl ¶
type HTTPDecl struct {
// contains filtered or unexported fields
}
func (HTTPDecl) File ¶
func (HTTPDecl) Files ¶
func (HTTPDecl) MarshalJSON ¶
func (HTTPDecl) Pos ¶
func (HTTPDecl) String ¶
func (HTTPDecl) Value ¶
type MkdirAllDecl ¶
type MkdirAllDecl struct {
// contains filtered or unexported fields
}
func (MkdirAllDecl) File ¶
func (d MkdirAllDecl) File() (*File, error)
func (MkdirAllDecl) MarshalJSON ¶
func (d MkdirAllDecl) MarshalJSON() ([]byte, error)
func (MkdirAllDecl) Pos ¶
func (d MkdirAllDecl) Pos() (token.Pos, error)
func (MkdirAllDecl) String ¶
func (d MkdirAllDecl) String() string
func (MkdirAllDecl) Value ¶
func (d MkdirAllDecl) Value() (string, error)
func (MkdirAllDecl) VirtualPaths ¶
func (d MkdirAllDecl) VirtualPaths() []string
type OpenDecl ¶
type OpenDecl struct {
// contains filtered or unexported fields
}
func (OpenDecl) File ¶
func (OpenDecl) Files ¶
func (OpenDecl) MarshalJSON ¶
func (OpenDecl) Pos ¶
func (OpenDecl) String ¶
func (OpenDecl) Value ¶
type StatDecl ¶
type StatDecl struct {
// contains filtered or unexported fields
}
func (StatDecl) File ¶
func (StatDecl) Files ¶
func (StatDecl) MarshalJSON ¶
func (StatDecl) Pos ¶
func (StatDecl) String ¶
func (StatDecl) Value ¶
type Virtualer ¶
type Virtualer interface { VirtualPaths() []string }
type WalkDecl ¶
type WalkDecl struct {
// contains filtered or unexported fields
}
func (WalkDecl) File ¶
func (WalkDecl) Files ¶
func (WalkDecl) MarshalJSON ¶
func (WalkDecl) Pos ¶
func (WalkDecl) String ¶
func (WalkDecl) Value ¶
Source Files ¶
create.go decl.go file.go http.go mkdir.go open.go parser.go stat.go visitor.go walk.go
- Version
- v0.8.0
- Published
- Oct 25, 2019
- Platform
- js/wasm
- Imports
- 14 packages
- Last checked
- 9 hours ago –
Tools for package owners.