Documentation
¶
Index ¶
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 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 ParseDir ¶ added in v0.10.0
func ParseDir(abs string, mode parser.Mode) ([]*ParsedSource, error)
func ParseFile ¶ added in v0.10.0
func ParseFile(abs string, mode parser.Mode) (*ParsedSource, error)
func ParseSource ¶ added in v0.10.0
func ParseSource(source Source, mode parser.Mode) (*ParsedSource, error)
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 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.