wrenlang

package
v0.0.0-...-65eb106 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WrenLanguageService

type WrenLanguageService struct {
}

func (WrenLanguageService) ExtractPrelude

func (ls WrenLanguageService) ExtractPrelude(mainFileCode string) string

func (WrenLanguageService) GetExportDeclarations

func (ls WrenLanguageService) GetExportDeclarations(line string) []string

func (WrenLanguageService) GetImportData

func (ls WrenLanguageService) GetImportData(line string) (compiler.ImportData, error)

GetImportData will extract a slice of imported symbols and the relative path to the file that is being imported given a line of code with an import statement

func (WrenLanguageService) GetMacroArgs

func (ls WrenLanguageService) GetMacroArgs(line string) []string

func (WrenLanguageService) GetMacroStringDeclaration

func (ls WrenLanguageService) GetMacroStringDeclaration(line string) (string, string, error)

func (WrenLanguageService) GetMacroType

func (ls WrenLanguageService) GetMacroType(line string) compiler.MacroType

func (WrenLanguageService) IsExportDeclaration

func (ls WrenLanguageService) IsExportDeclaration(line string) bool

func (WrenLanguageService) IsLineImport

func (ls WrenLanguageService) IsLineImport(line string) bool

func (WrenLanguageService) IsLineMacro

func (ls WrenLanguageService) IsLineMacro(line string) bool

func (WrenLanguageService) StripUnimportant

func (ls WrenLanguageService) StripUnimportant(line string) string

func (WrenLanguageService) SubstituteDefines

func (ls WrenLanguageService) SubstituteDefines(line string, defines map[string]string) string

Jump to

Keyboard shortcuts

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