Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ASTBuilder ¶
ASTBuilder builds an abstract syntax tree.
type ASTExpander ¶
ASTExpander expands and filters the given AST.
func (*ASTExpander) ExpandAndFilterAST ¶
func (pr *ASTExpander) ExpandAndFilterAST(ctx context.Context, inCh <-chan *ast.AST) (<-chan *ast.AST, <-chan error)
ExpandAndFilterAST processes the given AST.
type Differ ¶
type Differ struct {
Diff bool
}
Differ filters the incoming days according to the dates specified.
type PASTBuilder ¶
PASTBuilder processes ASTs.
func (*PASTBuilder) ProcessAST ¶
func (pr *PASTBuilder) ProcessAST(ctx context.Context, inCh <-chan *ast.AST) (<-chan *past.Day, <-chan error)
ProcessAST processes an AST to a stream of past.Day. It check assertions and the usage of open and closed accounts. It will also resolve Value directives and convert them to transactions.
type PeriodFilter ¶
PeriodFilter filters the incoming days according to the dates specified.
func (PeriodFilter) ProcessStream ¶
func (pf PeriodFilter) ProcessStream(ctx context.Context, inCh <-chan *val.Day) (<-chan *val.Day, <-chan error)
ProcessStream does the filtering.
type PriceUpdater ¶
PriceUpdater updates the prices in a stream of days.
func (PriceUpdater) ProcessStream ¶
func (pr PriceUpdater) ProcessStream(ctx context.Context, inCh <-chan *past.Day) (<-chan *val.Day, <-chan error)
ProcessStream computes prices.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.