parser

package
v0.0.0-...-a214d60 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParserStr

func ParserStr(str []string, errctx ...*errcode.ErrCtx) *ast.Tree

ParserStr 从已经去除换行符的字符串创建ast树

  • str是已经去除换行符的字符串

func ParserStr2

func ParserStr2(str []string, optin ...func(o *output)) *ast2.Tree

ParserStr2 创建ast树

  • str是已经去除换行符的字符串

func WithErrCtx

func WithErrCtx(errctx *errcode.ErrCtx) func(o *output)

func WithnoLF

func WithnoLF(noLF bool) func(o *output)

Types

This section is empty.

Jump to

Keyboard shortcuts

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