parser

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseSql

func ParseSql(sql string) ([]model.CocoStruct, []model.CocoRef)

Types

type Database

type Database struct {
	Tables []model.Table
	Refs   []model.CocoRef
}

func (*Database) Enter

func (v *Database) Enter(in ast.Node) (ast.Node, bool)

func (*Database) Leave

func (v *Database) Leave(in ast.Node) (ast.Node, bool)

Jump to

Keyboard shortcuts

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