Documentation
¶
Index ¶
- Constants
- func GetCreateIndexStatement(statement *pg_query.RawStmt) *pg_query.IndexStmt
- func GetDropIndexStatement(statement *pg_query.RawStmt) *pg_query.DropStmt
- func IsCommentPrefix(input string, position int) bool
- func IsNewline(input string, position int) bool
- func IsValidOffset(input string, offset int) bool
- func SkipComments(input string, offset int) int
- func SkipSpace(input string, offset int) int
- func SkipUntilNewLine(input string, offset int) int
- func SkipWhitespaceAndComments(input string, byteOffset int) int
- type Line
- type TextLocation
Constants ¶
View Source
const CommentPrefix = "--"
Variables ¶
This section is empty.
Functions ¶
func GetCreateIndexStatement ¶
func GetDropIndexStatement ¶
func IsCommentPrefix ¶
func IsValidOffset ¶
func SkipComments ¶
func SkipUntilNewLine ¶
Types ¶
type TextLocation ¶
func GetTextLocation ¶
func GetTextLocation(input string, byteOffset int) TextLocation
Click to show internal directories.
Click to hide internal directories.