Documentation
¶
Index ¶
- type Parser
- func (p *Parser) Comment(c ast.Comment)
- func (p *Parser) Cxx() string
- func (p *Parser) CxxEmbeds() string
- func (p *Parser) CxxFuncs() string
- func (p *Parser) CxxGlobals() string
- func (p *Parser) CxxPrototypes() string
- func (p *Parser) Func(fast ast.Func)
- func (p *Parser) FuncById(id string) *function
- func (p *Parser) Global(vast ast.Var)
- func (p *Parser) Parse(tokens []lexer.Token, main, justDefs bool)
- func (p *Parser) Parsef(main, justDefs bool)
- func (p *Parser) Parset(tree []ast.Obj, main, justDefs bool)
- func (p *Parser) PushAttribute(attribute ast.Attribute)
- func (p *Parser) Statement(s ast.Statement)
- func (p *Parser) Type(t ast.Type)
- func (p *Parser) Var(vast ast.Var) ast.Var
- func (p *Parser) WaitingGlobals()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
Embeds strings.Builder
Uses []*use
Defs *defmap
BlockVars []ast.Var
Errs []jnlog.CompilerLog
Warns []jnlog.CompilerLog
File *jnio.File
// contains filtered or unexported fields
}
func (*Parser) CxxGlobals ¶
func (*Parser) CxxPrototypes ¶
func (*Parser) PushAttribute ¶
func (*Parser) WaitingGlobals ¶
func (p *Parser) WaitingGlobals()
Click to show internal directories.
Click to hide internal directories.