type github.com/evanw/esbuild/internal/js_printer.printer
43 uses
github.com/evanw/esbuild/internal/js_printer (current package)
js_printer.go#L314: func (p *printer) printQuotedUTF16(text []uint16, quote rune) {
js_printer.go#L456: type printer struct {
js_printer.go#L513: func (p *printer) print(text string) {
js_printer.go#L519: func (p *printer) printBytes(bytes []byte) {
js_printer.go#L523: func (p *printer) printQuotedUTF8(text string, allowBacktick bool) {
js_printer.go#L531: func (p *printer) addSourceMapping(loc logger.Loc) {
js_printer.go#L587: func (p *printer) updateGeneratedLineAndColumn() {
js_printer.go#L712: func (p *printer) appendMapping(currentState SourceMapState) {
js_printer.go#L732: func (p *printer) appendMappingWithoutRemapping(currentState SourceMapState) {
js_printer.go#L743: func (p *printer) printIndent() {
js_printer.go#L751: func (p *printer) printSymbol(ref js_ast.Ref) {
js_printer.go#L762: func (p *printer) canPrintIdentifier(name string) bool {
js_printer.go#L768: func (p *printer) canPrintIdentifierUTF16(name []uint16) bool {
js_printer.go#L774: func (p *printer) printIdentifier(name string) {
js_printer.go#L784: func (p *printer) printIdentifierUTF16(name []uint16) {
js_printer.go#L814: func (p *printer) printBinding(binding js_ast.Binding) {
js_printer.go#L954: func (p *printer) printSpace() {
js_printer.go#L960: func (p *printer) printNewline() {
js_printer.go#L966: func (p *printer) printSpaceBeforeOperator(next js_ast.OpCode) {
js_printer.go#L986: func (p *printer) printSemicolonAfterStatement() {
js_printer.go#L994: func (p *printer) printSemicolonIfNeeded() {
js_printer.go#L1001: func (p *printer) printSpaceBeforeIdentifier() {
js_printer.go#L1009: func (p *printer) printFnArgs(args []js_ast.Arg, hasRestArg bool, isArrow bool) {
js_printer.go#L1046: func (p *printer) printFn(fn js_ast.Fn) {
js_printer.go#L1052: func (p *printer) printClass(class js_ast.Class) {
js_printer.go#L1084: func (p *printer) printProperty(item js_ast.Property) {
js_printer.go#L1223: func (p *printer) bestQuoteCharForString(data []uint16, allowBacktick bool) string {
js_printer.go#L1271: func (p *printer) printRequireOrImportExpr(importRecordIndex uint32, leadingInteriorComments []js_ast.Comment) {
js_printer.go#L1359: func (p *printer) printUndefined(level js_ast.L) {
js_printer.go#L1369: func (p *printer) printExpr(expr js_ast.Expr, level js_ast.L, flags int) {
js_printer.go#L2119: func (p *printer) isUnboundEvalIdentifier(value js_ast.Expr) bool {
js_printer.go#L2129: func (p *printer) smallIntToBytes(n int) []byte {
js_printer.go#L2179: func (p *printer) printNonNegativeFloat(absValue float64) {
js_printer.go#L2293: func (p *printer) printDeclStmt(isExport bool, keyword string, decls []js_ast.Decl) {
js_printer.go#L2303: func (p *printer) printForLoopInit(init js_ast.Stmt) {
js_printer.go#L2321: func (p *printer) printDecls(keyword string, decls []js_ast.Decl, flags int) {
js_printer.go#L2341: func (p *printer) printBody(body js_ast.Stmt) {
js_printer.go#L2354: func (p *printer) printBlock(loc logger.Loc, stmts []js_ast.Stmt) {
js_printer.go#L2401: func (p *printer) printIf(s *js_ast.SIf) {
js_printer.go#L2467: func (p *printer) printIndentedComment(text string) {
js_printer.go#L2490: func (p *printer) printStmt(stmt js_ast.Stmt) {
js_printer.go#L3030: func (p *printer) shouldIgnoreSourceMap() bool {
js_printer.go#L3087: p := &printer{
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |