Documentation
¶
Overview ¶
Package fgscript implements FGScript macro system execution and generation of Flowgorithm file.
Index ¶
- func Tokenize(src string) []string
- type Generator
- func (g *Generator) MatchAndWrite(tokens []string) error
- func (g *Generator) String() string
- func (g *Generator) TopLevel() bool
- func (g *Generator) WriteBreakpoint(tokens []string) error
- func (g *Generator) WriteComment(tokens []string) error
- func (g *Generator) WriteEndSt(tokens []string) error
- func (g *Generator) WriteFooter() error
- func (g *Generator) WriteHeader()
- func (g *Generator) WriteLnStAssignment(tokens []string) error
- func (g *Generator) WriteLnStCall(tokens []string) error
- func (g *Generator) WriteLnStDeclaration(tokens []string) error
- func (g *Generator) WriteLnStPrint(tokens []string, newline bool) error
- func (g *Generator) WriteLnStScan(tokens []string) error
- func (g *Generator) WriteStDo(tokens []string) error
- func (g *Generator) WriteStElse(tokens []string) error
- func (g *Generator) WriteStFor(tokens []string) error
- func (g *Generator) WriteStFunction(tokens []string) error
- func (g *Generator) WriteStIf(tokens []string) error
- func (g *Generator) WriteStWhile(tokens []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func (*Generator) MatchAndWrite ¶
func (*Generator) WriteBreakpoint ¶
func (*Generator) WriteComment ¶
func (*Generator) WriteEndSt ¶
func (*Generator) WriteFooter ¶
func (*Generator) WriteHeader ¶
func (g *Generator) WriteHeader()
func (*Generator) WriteLnStAssignment ¶
func (*Generator) WriteLnStCall ¶
func (*Generator) WriteLnStDeclaration ¶
func (*Generator) WriteLnStPrint ¶
func (*Generator) WriteLnStScan ¶
func (*Generator) WriteStElse ¶
func (*Generator) WriteStFor ¶
func (*Generator) WriteStFunction ¶
func (*Generator) WriteStWhile ¶
Click to show internal directories.
Click to hide internal directories.