Documentation ¶
Index ¶
- type CreateDecl
- type Decl
- type Decls
- type File
- type Filer
- type HTTPDecl
- type IncludeDecl
- func (d IncludeDecl) File() (*File, error)
- func (d IncludeDecl) Files(virtual map[string]string) ([]*File, error)
- func (d IncludeDecl) MarshalJSON() ([]byte, error)
- func (d IncludeDecl) Position() (token.Position, error)
- func (d IncludeDecl) String() string
- func (d IncludeDecl) Value() (string, error)
- type MkdirAllDecl
- type OpenDecl
- type ParsedSource
- type Parser
- func (p *Parser) Decls() (Decls, error)
- func (p *Parser) DeclsMap() (map[string]Decls, error)
- func (p *Parser) Parse() error
- func (p *Parser) ParseDir(abs string, mode parser.Mode) ([]*ParsedSource, error)
- func (p *Parser) ParseFile(abs string, mode parser.Mode) (*ParsedSource, error)
- func (p *Parser) ParseSource(source Source, mode parser.Mode) (*ParsedSource, error)
- type Source
- type StatDecl
- type Virtualer
- type WalkDecl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDecl ¶ added in v0.6.0
type CreateDecl struct {
// contains filtered or unexported fields
}
func (CreateDecl) File ¶ added in v0.6.0
func (d CreateDecl) File() (*File, error)
func (CreateDecl) MarshalJSON ¶ added in v0.6.0
func (d CreateDecl) MarshalJSON() ([]byte, error)
func (CreateDecl) String ¶ added in v0.6.0
func (d CreateDecl) String() string
func (CreateDecl) Value ¶ added in v0.6.0
func (d CreateDecl) Value() (string, error)
func (CreateDecl) VirtualPaths ¶ added in v0.6.0
func (d CreateDecl) VirtualPaths() []string
type HTTPDecl ¶ added in v0.5.1
type HTTPDecl struct {
// contains filtered or unexported fields
}
func (HTTPDecl) MarshalJSON ¶ added in v0.5.1
type IncludeDecl ¶ added in v0.12.0
type IncludeDecl struct {
// contains filtered or unexported fields
}
func NewInclude ¶ added in v0.12.10
func NewInclude(her here.Info, inc string) (IncludeDecl, error)
func (IncludeDecl) File ¶ added in v0.12.0
func (d IncludeDecl) File() (*File, error)
func (IncludeDecl) Files ¶ added in v0.12.0
func (d IncludeDecl) Files(virtual map[string]string) ([]*File, error)
func (IncludeDecl) MarshalJSON ¶ added in v0.12.0
func (d IncludeDecl) MarshalJSON() ([]byte, error)
func (IncludeDecl) Position ¶ added in v0.12.0
func (d IncludeDecl) Position() (token.Position, error)
func (IncludeDecl) String ¶ added in v0.12.0
func (d IncludeDecl) String() string
func (IncludeDecl) Value ¶ added in v0.12.0
func (d IncludeDecl) Value() (string, error)
type MkdirAllDecl ¶ added in v0.6.0
type MkdirAllDecl struct {
// contains filtered or unexported fields
}
func (MkdirAllDecl) File ¶ added in v0.6.0
func (d MkdirAllDecl) File() (*File, error)
func (MkdirAllDecl) MarshalJSON ¶ added in v0.6.0
func (d MkdirAllDecl) MarshalJSON() ([]byte, error)
func (MkdirAllDecl) Position ¶ added in v0.9.0
func (d MkdirAllDecl) Position() (token.Position, error)
func (MkdirAllDecl) String ¶ added in v0.6.0
func (d MkdirAllDecl) String() string
func (MkdirAllDecl) Value ¶ added in v0.6.0
func (d MkdirAllDecl) Value() (string, error)
func (MkdirAllDecl) VirtualPaths ¶ added in v0.6.0
func (d MkdirAllDecl) VirtualPaths() []string
type OpenDecl ¶ added in v0.3.0
type OpenDecl struct {
// contains filtered or unexported fields
}
func (OpenDecl) MarshalJSON ¶ added in v0.4.0
type ParsedSource ¶ added in v0.10.0
type ParsedSource struct { Source FileSet *token.FileSet Ast *ast.File // contains filtered or unexported fields }
func (*ParsedSource) DeclsMap ¶ added in v0.10.0
func (p *ParsedSource) DeclsMap() (map[string]Decls, error)
func (*ParsedSource) Parse ¶ added in v0.10.0
func (p *ParsedSource) Parse() error
type Parser ¶ added in v0.10.0
func (*Parser) ParseSource ¶ added in v0.12.0
type StatDecl ¶ added in v0.6.0
type StatDecl struct {
// contains filtered or unexported fields
}
func (StatDecl) MarshalJSON ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.