utils

package
v0.0.0-...-1ae482a Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstructLineAndColumnData

func ConstructLineAndColumnData(lines []string, lineIndex int, symbol string) (StartEnd, StartEnd)

func GetConditionLineNumber

func GetConditionLineNumber(conditionName string, lines []string) int

func GetExtendedTypeLineNumber

func GetExtendedTypeLineNumber(typeName string, lines []string) int

func GetRelationLineNumber

func GetRelationLineNumber(relation string, lines []string) int

func GetTypeLineNumber

func GetTypeLineNumber(typeName string, lines []string) int

Types

type StartEnd

type StartEnd struct {
	Start int
	End   int
}

Jump to

Keyboard shortcuts

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