irconv

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertNode

func ConvertNode(n ast.Vertex) ir.Node

Types

type Converter

type Converter struct {
	// contains filtered or unexported fields
}

func NewConverter

func NewConverter(typeParser *phpdoc.TypeParser) *Converter

NewConverter returns a new AST->IR converter.

If typeParser is nil, it will not eagerly try to parse phpdoc strings into phpdoc.CommentPart.

It's intended to be re-used inside a signle thread context.

func (*Converter) ConvertNode

func (c *Converter) ConvertNode(n ast.Vertex) ir.Node

func (*Converter) ConvertRoot

func (c *Converter) ConvertRoot(n *ast.Root) *ir.Root

Jump to

Keyboard shortcuts

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