Documentation ¶
Index ¶
- type CoqRewriter
- type LatexRewriter
- type Rewriter
- type TextRewriter
- func (tr *TextRewriter) ExtractInformation(proofScript string)
- func (tr *TextRewriter) GenerateScriptWithUnfoldedAutos(inputsOutputs []*coq.InputOutput) string
- func (tr *TextRewriter) GetProofGlobalGoal() *coq.Goal
- func (tr *TextRewriter) GetTextVersion() string
- func (r *TextRewriter) OutputGraphAsDot() string
- func (r *TextRewriter) OutputProofTreeAsDot()
- func (r *TextRewriter) ParseGraph()
- func (tr *TextRewriter) Rewrite(proofScript string)
- func (tr *TextRewriter) UpdatedIndentationLevel(input *coq.Input) string
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 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
Click to show internal directories.
Click to hide internal directories.