Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrParseBlob is returned when the blob can't be parsed with bblfsh. ErrParseBlob = errors.NewKind("unable to parse the given blob using bblfsh: %s") // ErrUnmarshalUAST is returned when an error arises unmarshaling UASTs. ErrUnmarshalUAST = errors.NewKind("error unmarshaling UAST: %s") // ErrMarshalUAST is returned when an error arises marshaling UASTs. ErrMarshalUAST = errors.NewKind("error marshaling uast node: %s") )
Functions ¶
Types ¶
type Language ¶ added in v0.0.7
func DriverManifestsToLangs ¶ added in v0.0.7
func DriverManifestsToLangs(drivers []bblfsh.DriverManifest) []Language
type ParseResponse ¶ added in v0.0.7
type SQLDB ¶
type SQLDB interface { Close() error Conn(context.Context) (*sql.Conn, error) Query(query string, args ...interface{}) (*sql.Rows, error) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) QueryRow(query string, args ...interface{}) *sql.Row Ping() error Exec(query string, args ...interface{}) (sql.Result, error) }
SQLDB describes a *sql.DB
Click to show internal directories.
Click to hide internal directories.