markedsource

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0, NCSA Imports: 4 Imported by: 4

Documentation

Overview

Package markedsource defines functions for rendering MarkedSource.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(ms *cpb.MarkedSource) string

Render flattens MarkedSource to a string using reasonable defaults.

func RenderQualifiedName

func RenderQualifiedName(ms *cpb.MarkedSource) *cpb.SymbolInfo

RenderQualifiedName renders a language-appropriate qualified name from a MarkedSource message.

func RenderSimpleIdentifier

func RenderSimpleIdentifier(ms *cpb.MarkedSource) string

RenderSimpleIdentifier extracts and renders the simple identifier from a MarkedSource.

func RenderSimpleParams

func RenderSimpleParams(ms *cpb.MarkedSource) []string

RenderSimpleParams extracts and renders the simple identifiers from a MarkedSource's parameters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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