parser

package
v0.0.0-...-13330ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2015 License: BSD-2-Clause Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockCharReader

func MockCharReader(charset string, input io.Reader) (io.Reader, error)

TODO possibly unsafe... but everything should be parseable still

Types

type FinancialReportParser

type FinancialReportParser struct {
	// contains filtered or unexported fields
}

func NewFinancialReportParser

func NewFinancialReportParser(xbrlFileName string, frr *filings.FinancialReportRaw,
	persister persist.PersistFinancialReportsRaw,
	rawFieldNameList filings.RawFieldNameList) *FinancialReportParser

Creates a new FinancialReportParser with all the necessary intializations

func (*FinancialReportParser) GetFinancialReport

func (frp *FinancialReportParser) GetFinancialReport() *filings.FinancialReport

func (*FinancialReportParser) GetFinancialReportRaw

func (frp *FinancialReportParser) GetFinancialReportRaw() *filings.FinancialReportRaw

/ Returns a FinancialReport. Calling this before Parse() is useless!

func (*FinancialReportParser) Parse

func (frp *FinancialReportParser) Parse()

Parses the xbrl file that this FinancialReportParser was initialized with. The results are stored in the FinancialReport

type XbrlElementParser

type XbrlElementParser func(frp *FinancialReportParser, listOfElementLists *list.List)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL