play

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Act

type Act struct {
	Title    string   `xml:"TITLE"`
	Scene    []Scene  `xml:"SCENE"`
	Epilogue Epilogue `xml:"EPILOGUE"`
}

type Epilogue

type Epilogue struct {
	Title          string `xml:"TITLE"`
	Speech         Speech `xml:"SPEECH"`
	StageDirection string `xml:"STAGEDIR"`
}

type FrontMatter

type FrontMatter struct {
	Paragraph []string `xml:"P"`
}

type Line

type Line struct {
	CharData       string  `xml:",chardata"`
	StageDirection *string `xml:"STAGEDIR"`
}

type PersonaGroup

type PersonaGroup struct {
	Persona          []string `xml:"PERSONA"`
	GroupDescription string   `xml:"GRPDESCR"`
}

type Personae

type Personae struct {
	Title        string         `xml:"TITLE"`
	Persona      []string       `xml:"PERSONA"`
	PersonaGroup []PersonaGroup `xml:"PGROUP"`
}

type Play

type Play struct {
	Title            string      `xml:"TITLE"`
	FrontMatter      FrontMatter `xml:"FM"`
	Personae         Personae    `xml:"PERSONAE"`
	SceneDescription string      `xml:"SCNDESCR"`
	PlaySubtitle     string      `xml:"PLAYSUBT"`
	Act              []Act       `xml:"ACT"`
}

type Scene

type Scene struct {
	Title          string   `xml:"TITLE"`
	StageDirection []string `xml:"STAGEDIR"`
	Speech         []Speech `xml:"SPEECH"`
}

type Speech

type Speech struct {
	Speaker        string   `xml:"SPEAKER"`
	Line           []Line   `xml:"LINE"`
	StageDirection []string `xml:"STAGEDIR"`
}

Jump to

Keyboard shortcuts

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