translate

package
v0.0.0-...-75b1e24 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAstTranslator

func NewAstTranslator() translate.AstTranslator

Create a new instance of the default translate.AstTranslator.

Types

type NodeStack

type NodeStack [][]data.Node

Stack which is used for AST-transformation

func (NodeStack) AppendToTop

func (s NodeStack) AppendToTop(v data.Node)

Append new node to top element of the stack

func (NodeStack) Pop

func (s NodeStack) Pop() (NodeStack, []data.Node)

Pop top element from Stack

func (NodeStack) Push

func (s NodeStack) Push(v []data.Node) NodeStack

Push new element to stack

Jump to

Keyboard shortcuts

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