Go: cmd/asm/internal/asm Index | Files

package asm

import "cmd/asm/internal/asm"

Package asm implements the parser and instruction generator for the assembler. TODO: Split apart?

Index

Package Files

asm.go parse.go

Variables

var EOF = lex.Make(scanner.EOF, "EOF")

EOF represents the end of input.

type Parser Uses

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

func NewParser Uses

func NewParser(ctxt *obj.Link, ar *arch.Arch, lexer lex.TokenReader) *Parser

func (*Parser) Parse Uses

func (p *Parser) Parse() (*obj.Prog, bool)

func (*Parser) ParseSymABIs Uses

func (p *Parser) ParseSymABIs(w io.Writer) bool

ParseSymABIs parses p's assembly code to find text symbol definitions and references and writes a symabis file to w.

type Patch Uses

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

Package asm imports 16 packages (graph) and is imported by 14 packages. Updated 2019-05-07. Refresh now. Tools for package owners.