ntttest

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package ntttest provides utilities for TTCN-3 testing.

Index

Constants

View Source
const CURSOR = "¶"

CURSOR is a special character (pilcrow "¶") that is used to mark the cursor position in the input string. See function ExtractCursor for more details.

The pilcrow can be entered in the source code by pressing ^Kpp in Vim.

Variables

This section is empty.

Functions

func CutCursor

func CutCursor(s string) (string, int)

CutCursor returns s without the first instance of the cursor character ("¶") and its position as second return value. If there's no cursor in the input string, the position is -1.

func NodeString

func NodeString(n syntax.Node) string

NodeString returns a string representation of the given node.

Types

This section is empty.

Jump to

Keyboard shortcuts

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