parser

package
v0.0.0-...-63c0616 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

This package declares standard Java class file parser

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCode

func ParseCode(buf []byte) (*ir.ICNode, error)

func RegisterParser

func RegisterParser(p ICParser)

Types

type ICParser

type ICParser interface {
	Op() ops.Op
	Parse(br *bytes.Reader) (ir.IC, error)
}

func GetICParser

func GetICParser(b ops.Op) ICParser

type ParserICaload

type ParserICaload struct{}

func (*ParserICaload) Op

func (*ParserICaload) Op() ops.Op

func (*ParserICaload) Parse

func (*ParserICaload) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICanewarray

type ParserICanewarray struct{}

func (*ParserICanewarray) Op

func (*ParserICanewarray) Op() ops.Op

func (*ParserICanewarray) Parse

func (*ParserICanewarray) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICastore

type ParserICastore struct{}

func (*ParserICastore) Op

func (*ParserICastore) Op() ops.Op

func (*ParserICastore) Parse

func (*ParserICastore) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICbipush

type ParserICbipush struct{}

func (*ParserICbipush) Op

func (*ParserICbipush) Op() ops.Op

func (*ParserICbipush) Parse

func (*ParserICbipush) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICcheckcast

type ParserICcheckcast struct{}

func (*ParserICcheckcast) Op

func (*ParserICcheckcast) Op() ops.Op

func (*ParserICcheckcast) Parse

func (*ParserICcheckcast) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICdload

type ParserICdload struct{}

func (*ParserICdload) Op

func (*ParserICdload) Op() ops.Op

func (*ParserICdload) Parse

func (*ParserICdload) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICdstore

type ParserICdstore struct{}

func (*ParserICdstore) Op

func (*ParserICdstore) Op() ops.Op

func (*ParserICdstore) Parse

func (*ParserICdstore) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICfload

type ParserICfload struct{}

func (*ParserICfload) Op

func (*ParserICfload) Op() ops.Op

func (*ParserICfload) Parse

func (*ParserICfload) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICfstore

type ParserICfstore struct{}

func (*ParserICfstore) Op

func (*ParserICfstore) Op() ops.Op

func (*ParserICfstore) Parse

func (*ParserICfstore) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICgetfield

type ParserICgetfield struct{}

func (*ParserICgetfield) Op

func (*ParserICgetfield) Op() ops.Op

func (*ParserICgetfield) Parse

func (*ParserICgetfield) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICgetstatic

type ParserICgetstatic struct{}

func (*ParserICgetstatic) Op

func (*ParserICgetstatic) Op() ops.Op

func (*ParserICgetstatic) Parse

func (*ParserICgetstatic) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICgoto

type ParserICgoto struct{}

func (*ParserICgoto) Op

func (*ParserICgoto) Op() ops.Op

func (*ParserICgoto) Parse

func (*ParserICgoto) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICgoto_w

type ParserICgoto_w struct{}

func (*ParserICgoto_w) Op

func (*ParserICgoto_w) Op() ops.Op

func (*ParserICgoto_w) Parse

func (*ParserICgoto_w) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICif_acmpeq

type ParserICif_acmpeq struct{}

func (*ParserICif_acmpeq) Op

func (*ParserICif_acmpeq) Op() ops.Op

func (*ParserICif_acmpeq) Parse

func (*ParserICif_acmpeq) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICif_acmpne

type ParserICif_acmpne struct{}

func (*ParserICif_acmpne) Op

func (*ParserICif_acmpne) Op() ops.Op

func (*ParserICif_acmpne) Parse

func (*ParserICif_acmpne) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICif_icmpeq

type ParserICif_icmpeq struct{}

func (*ParserICif_icmpeq) Op

func (*ParserICif_icmpeq) Op() ops.Op

func (*ParserICif_icmpeq) Parse

func (*ParserICif_icmpeq) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICif_icmpge

type ParserICif_icmpge struct{}

func (*ParserICif_icmpge) Op

func (*ParserICif_icmpge) Op() ops.Op

func (*ParserICif_icmpge) Parse

func (*ParserICif_icmpge) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICif_icmpgt

type ParserICif_icmpgt struct{}

func (*ParserICif_icmpgt) Op

func (*ParserICif_icmpgt) Op() ops.Op

func (*ParserICif_icmpgt) Parse

func (*ParserICif_icmpgt) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICif_icmple

type ParserICif_icmple struct{}

func (*ParserICif_icmple) Op

func (*ParserICif_icmple) Op() ops.Op

func (*ParserICif_icmple) Parse

func (*ParserICif_icmple) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICif_icmplt

type ParserICif_icmplt struct{}

func (*ParserICif_icmplt) Op

func (*ParserICif_icmplt) Op() ops.Op

func (*ParserICif_icmplt) Parse

func (*ParserICif_icmplt) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICif_icmpne

type ParserICif_icmpne struct{}

func (*ParserICif_icmpne) Op

func (*ParserICif_icmpne) Op() ops.Op

func (*ParserICif_icmpne) Parse

func (*ParserICif_icmpne) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICifeq

type ParserICifeq struct{}

func (*ParserICifeq) Op

func (*ParserICifeq) Op() ops.Op

func (*ParserICifeq) Parse

func (*ParserICifeq) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICifge

type ParserICifge struct{}

func (*ParserICifge) Op

func (*ParserICifge) Op() ops.Op

func (*ParserICifge) Parse

func (*ParserICifge) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICifgt

type ParserICifgt struct{}

func (*ParserICifgt) Op

func (*ParserICifgt) Op() ops.Op

func (*ParserICifgt) Parse

func (*ParserICifgt) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICifle

type ParserICifle struct{}

func (*ParserICifle) Op

func (*ParserICifle) Op() ops.Op

func (*ParserICifle) Parse

func (*ParserICifle) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICiflt

type ParserICiflt struct{}

func (*ParserICiflt) Op

func (*ParserICiflt) Op() ops.Op

func (*ParserICiflt) Parse

func (*ParserICiflt) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICifne

type ParserICifne struct{}

func (*ParserICifne) Op

func (*ParserICifne) Op() ops.Op

func (*ParserICifne) Parse

func (*ParserICifne) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICifnonnull

type ParserICifnonnull struct{}

func (*ParserICifnonnull) Op

func (*ParserICifnonnull) Op() ops.Op

func (*ParserICifnonnull) Parse

func (*ParserICifnonnull) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICifnull

type ParserICifnull struct{}

func (*ParserICifnull) Op

func (*ParserICifnull) Op() ops.Op

func (*ParserICifnull) Parse

func (*ParserICifnull) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICiinc

type ParserICiinc struct{}

func (*ParserICiinc) Op

func (*ParserICiinc) Op() ops.Op

func (*ParserICiinc) Parse

func (*ParserICiinc) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICiload

type ParserICiload struct{}

func (*ParserICiload) Op

func (*ParserICiload) Op() ops.Op

func (*ParserICiload) Parse

func (*ParserICiload) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICinstanceof

type ParserICinstanceof struct{}

func (*ParserICinstanceof) Op

func (*ParserICinstanceof) Op() ops.Op

func (*ParserICinstanceof) Parse

func (*ParserICinstanceof) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICinvokedynamic

type ParserICinvokedynamic struct{}

func (*ParserICinvokedynamic) Op

func (*ParserICinvokedynamic) Parse

func (*ParserICinvokedynamic) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICinvokeinterface

type ParserICinvokeinterface struct{}

func (*ParserICinvokeinterface) Op

func (*ParserICinvokeinterface) Parse

func (*ParserICinvokeinterface) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICinvokespecial

type ParserICinvokespecial struct{}

func (*ParserICinvokespecial) Op

func (*ParserICinvokespecial) Parse

func (*ParserICinvokespecial) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICinvokestatic

type ParserICinvokestatic struct{}

func (*ParserICinvokestatic) Op

func (*ParserICinvokestatic) Op() ops.Op

func (*ParserICinvokestatic) Parse

func (*ParserICinvokestatic) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICinvokevirtual

type ParserICinvokevirtual struct{}

func (*ParserICinvokevirtual) Op

func (*ParserICinvokevirtual) Parse

func (*ParserICinvokevirtual) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICistore

type ParserICistore struct{}

func (*ParserICistore) Op

func (*ParserICistore) Op() ops.Op

func (*ParserICistore) Parse

func (*ParserICistore) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICldc

type ParserICldc struct{}

func (*ParserICldc) Op

func (*ParserICldc) Op() ops.Op

func (*ParserICldc) Parse

func (*ParserICldc) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICldc2_w

type ParserICldc2_w struct{}

func (*ParserICldc2_w) Op

func (*ParserICldc2_w) Op() ops.Op

func (*ParserICldc2_w) Parse

func (*ParserICldc2_w) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICldc_w

type ParserICldc_w struct{}

func (*ParserICldc_w) Op

func (*ParserICldc_w) Op() ops.Op

func (*ParserICldc_w) Parse

func (*ParserICldc_w) Parse(br *bytes.Reader) (ir.IC, error)

type ParserIClload

type ParserIClload struct{}

func (*ParserIClload) Op

func (*ParserIClload) Op() ops.Op

func (*ParserIClload) Parse

func (*ParserIClload) Parse(br *bytes.Reader) (ir.IC, error)

type ParserIClookupswitch

type ParserIClookupswitch struct{}

func (*ParserIClookupswitch) Op

func (*ParserIClookupswitch) Op() ops.Op

func (*ParserIClookupswitch) Parse

func (*ParserIClookupswitch) Parse(br *bytes.Reader) (ir.IC, error)

type ParserIClstore

type ParserIClstore struct{}

func (*ParserIClstore) Op

func (*ParserIClstore) Op() ops.Op

func (*ParserIClstore) Parse

func (*ParserIClstore) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICmultianewarray

type ParserICmultianewarray struct{}

func (*ParserICmultianewarray) Op

func (*ParserICmultianewarray) Parse

func (*ParserICmultianewarray) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICnew

type ParserICnew struct{}

func (*ParserICnew) Op

func (*ParserICnew) Op() ops.Op

func (*ParserICnew) Parse

func (*ParserICnew) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICnewarray

type ParserICnewarray struct{}

func (*ParserICnewarray) Op

func (*ParserICnewarray) Op() ops.Op

func (*ParserICnewarray) Parse

func (*ParserICnewarray) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICputfield

type ParserICputfield struct{}

func (*ParserICputfield) Op

func (*ParserICputfield) Op() ops.Op

func (*ParserICputfield) Parse

func (*ParserICputfield) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICputstatic

type ParserICputstatic struct{}

func (*ParserICputstatic) Op

func (*ParserICputstatic) Op() ops.Op

func (*ParserICputstatic) Parse

func (*ParserICputstatic) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICsipush

type ParserICsipush struct{}

func (*ParserICsipush) Op

func (*ParserICsipush) Op() ops.Op

func (*ParserICsipush) Parse

func (*ParserICsipush) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICtableswitch

type ParserICtableswitch struct{}

func (*ParserICtableswitch) Op

func (*ParserICtableswitch) Op() ops.Op

func (*ParserICtableswitch) Parse

func (*ParserICtableswitch) Parse(br *bytes.Reader) (ir.IC, error)

type ParserICwide

type ParserICwide struct{}

func (*ParserICwide) Op

func (*ParserICwide) Op() ops.Op

func (*ParserICwide) Parse

func (*ParserICwide) Parse(br *bytes.Reader) (ir.IC, error)

Jump to

Keyboard shortcuts

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