ast

package
v0.0.0-...-f3cf089 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinaryOperationExpr

type BinaryOperationExpr struct {
	Left  Expr
	Right Expr

	Op lexer.TokenKind
}

func (*BinaryOperationExpr) DebugString

func (expr *BinaryOperationExpr) DebugString() string

type Expr

type Expr interface {
	DebugString() string
	// contains filtered or unexported methods
}

type IdentifierExpr

type IdentifierExpr struct {
	Value string
}

func (*IdentifierExpr) DebugString

func (expr *IdentifierExpr) DebugString() string

type IntegerExpr

type IntegerExpr struct {
	Value uint64
}

func (*IntegerExpr) DebugString

func (expr *IntegerExpr) DebugString() string

Jump to

Keyboard shortcuts

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