ref

package
v0.0.0-...-e081c89 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package ref provides some reference structures required by multiple packages

This exists as it's own package to get around cyclic dependencies

Index

Constants

This section is empty.

Variables

View Source
var History = new(history)

History is an array of all the murex source code loaded

Functions

This section is empty.

Types

type File

type File struct {
	Source *Source
	Line   int
	Column int
}

File is used to group the source cursor

func NewModule

func NewModule(module string) *File

type Source

type Source struct {
	Filename string
	Module   string
	DateTime time.Time
	// contains filtered or unexported fields
}

Source is a cache of the source file

func (Source) Equal

func (s Source) Equal(source *Source) bool

Equal checks two FileRef sources are the same

Jump to

Keyboard shortcuts

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