ast

package
v0.0.0-...-85ccbf3 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayLiteral

type ArrayLiteral struct {
	Values []Value
}

func (*ArrayLiteral) String

func (a *ArrayLiteral) String() string

type BoolLiteral

type BoolLiteral struct {
	Value bool
}

func (*BoolLiteral) String

func (b *BoolLiteral) String() string

type NullLiteral

type NullLiteral struct {
}

func (*NullLiteral) String

func (n *NullLiteral) String() string

type NumberLiteral

type NumberLiteral struct {
	Value float64
}

func (*NumberLiteral) String

func (n *NumberLiteral) String() string

type ObjectLiteral

type ObjectLiteral struct {
	Pairs map[StringLiteral]Value
}

func (*ObjectLiteral) String

func (o *ObjectLiteral) String() string

type StringLiteral

type StringLiteral struct {
	Value string
}

func (*StringLiteral) String

func (s *StringLiteral) String() string

type Value

type Value interface {
	String() string
}

Jump to

Keyboard shortcuts

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