Documentation ¶
Index ¶
- type ASTBuilder
- func (b *ASTBuilder) Build(ctx context.Context, page *tree.Page) (*ast.Page, error)
- func (b *ASTBuilder) ProvideChildren(rawBlock notionapi.Block) ([]notionapi.Block, error)
- func (b *ASTBuilder) ProvideDatabase(rawBlock notionapi.Block) (*notionapi.Database, error)
- func (b *ASTBuilder) ProvideDatabaseData(db *notionapi.Database) ([]notionapi.Page, error)
- func (b *ASTBuilder) ProvidePageChildren(rawBlock notionapi.Page) ([]notionapi.Block, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ASTBuilder ¶
type ASTBuilder struct {
// contains filtered or unexported fields
}
func NewASTBuilder ¶
func NewASTBuilder(notion *notionapi.Client) *ASTBuilder
func (*ASTBuilder) ProvideChildren ¶
func (*ASTBuilder) ProvideDatabase ¶
func (*ASTBuilder) ProvideDatabaseData ¶
func (*ASTBuilder) ProvidePageChildren ¶
Click to show internal directories.
Click to hide internal directories.