rewriters

package
v0.0.0-...-2a7d15f Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoqRewriter

type CoqRewriter struct {
	TextRewriter
}

func NewCoqRewriter

func NewCoqRewriter(tr TextRewriter) *CoqRewriter

func (*CoqRewriter) GetTextVersion

func (cr *CoqRewriter) GetTextVersion() string

type LatexRewriter

type LatexRewriter struct {
	TextRewriter
}

func NewLatexRewriter

func NewLatexRewriter(tr TextRewriter) *LatexRewriter

func (*LatexRewriter) GetTextVersion

func (lr *LatexRewriter) GetTextVersion() string

func (*LatexRewriter) Rewrite

func (lr *LatexRewriter) Rewrite(proofScript string)

type Rewriter

type Rewriter interface {
	Rewrite(proofScript string)
}

type TextRewriter

type TextRewriter struct {
	InputsOutputs []*coq.InputOutput
	// contains filtered or unexported fields
}

func NewTextRewriter

func NewTextRewriter(rewritingBundle map[string]string) *TextRewriter

func (*TextRewriter) ExtractInformation

func (tr *TextRewriter) ExtractInformation(proofScript string)

func (*TextRewriter) GenerateScriptWithUnfoldedAutos

func (tr *TextRewriter) GenerateScriptWithUnfoldedAutos(inputsOutputs []*coq.InputOutput) string

func (*TextRewriter) GetProofGlobalGoal

func (tr *TextRewriter) GetProofGlobalGoal() *coq.Goal

func (*TextRewriter) GetTextVersion

func (tr *TextRewriter) GetTextVersion() string

func (*TextRewriter) OutputGraphAsDot

func (r *TextRewriter) OutputGraphAsDot() string

func (*TextRewriter) OutputProofTreeAsDot

func (r *TextRewriter) OutputProofTreeAsDot()

func (*TextRewriter) ParseGraph

func (r *TextRewriter) ParseGraph()

func (*TextRewriter) Rewrite

func (tr *TextRewriter) Rewrite(proofScript string)

func (*TextRewriter) UpdatedIndentationLevel

func (tr *TextRewriter) UpdatedIndentationLevel(input *coq.Input) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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