Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct {
// contains filtered or unexported fields
}
func (*Contract) Dependencies ¶
func (*Contract) TranspiledCode ¶
type CyclicImportError ¶
type CyclicImportError struct {
Cycles [][]*Contract
}
func (*CyclicImportError) Error ¶
func (e *CyclicImportError) Error() string
type FilesystemLoader ¶
type FilesystemLoader struct{}
func (FilesystemLoader) Normalize ¶
func (f FilesystemLoader) Normalize(base, relative string) string
type Preprocessor ¶
type Preprocessor struct {
// contains filtered or unexported fields
}
func NewPreprocessor ¶
func NewPreprocessor(loader Loader, aliases map[string]string) *Preprocessor
func (*Preprocessor) AddContractSource ¶
func (p *Preprocessor) AddContractSource( contractName, contractSource string, target flow.Address, ) error
func (*Preprocessor) ContractBySource ¶
func (p *Preprocessor) ContractBySource(contractSource string) *Contract
func (*Preprocessor) ContractDeploymentOrder ¶
func (p *Preprocessor) ContractDeploymentOrder() ([]*Contract, error)
func (*Preprocessor) ResolveImports ¶
func (p *Preprocessor) ResolveImports() error
Click to show internal directories.
Click to hide internal directories.