translate

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 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