agxml

package
v0.0.0-...-958f0fa Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Import

func Import(inFile io.Reader) (*caes.ArgGraph, error)

Types

type Adu

type Adu struct {
	Id   string `xml:"id,attr"`
	Type string `xml:"type,attr"`
}

type Arggraph

type Arggraph struct {
	Id      string  `xml:"id,attr"`
	Stance  string  `xml:"stance,attr"`
	TopicId string  `xml:"topic_id,attr"`
	Edus    []Edu   `xml:"edu"`
	Joints  []Joint `xml:"joint"`
	Adus    []Adu   `xml:"adu"`
	Edges   []Edge  `xml:"edge"`
}

func (*Arggraph) Caes

func (pag *Arggraph) Caes() *caes.ArgGraph

Convert to an Arggraph to a CAES argument graph

type Edge

type Edge struct {
	Id   string `xml:"id,attr"`
	Src  string `xml:"src,attr"`
	Trg  string `xml:"trg,attr"`
	Type string `xml:"type,attr"`
}

type Edu

type Edu struct {
	Id      string `xml:"id,attr"`
	Content string `xml:",chardata"`
}

type Joint

type Joint struct {
	Id string `xml:"id,attr"`
}

Jump to

Keyboard shortcuts

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