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 ¶
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) String ¶
func (d CreateDecl) String() string
func (CreateDecl) Value ¶
func (d CreateDecl) Value() (string, error)
func (CreateDecl) VirtualPaths ¶
func (d CreateDecl) VirtualPaths() []string
type HTTPDecl ¶
type HTTPDecl struct {
// contains filtered or unexported fields
}
func (HTTPDecl) MarshalJSON ¶
type IncludeDecl ¶
type IncludeDecl struct {
// contains filtered or unexported fields
}
func NewInclude ¶
func NewInclude(her here.Info, inc string) (IncludeDecl, error)
func (IncludeDecl) File ¶
func (d IncludeDecl) File() (*File, error)
func (IncludeDecl) MarshalJSON ¶
func (d IncludeDecl) MarshalJSON() ([]byte, error)
func (IncludeDecl) String ¶
func (d IncludeDecl) String() string
func (IncludeDecl) Value ¶
func (d IncludeDecl) Value() (string, error)
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) 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) MarshalJSON ¶
type ParsedSource ¶
type ParsedSource struct { Source FileSet *token.FileSet Ast *ast.File // contains filtered or unexported fields }
func (*ParsedSource) Parse ¶
func (p *ParsedSource) Parse() error
type StatDecl ¶
type StatDecl struct {
// contains filtered or unexported fields
}
func (StatDecl) MarshalJSON ¶
type WalkDecl ¶
type WalkDecl struct {
// contains filtered or unexported fields
}
func (WalkDecl) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.