Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Statement = compiler.Statement{ Name: compiler.Translatable{ compiler.English: "print", }, OnScan: func(c *compiler.Compiler) { c.Expecting("(") if c.Peek() == ")" { c.Scan() c.Print() return } //Deal with the first argument. var Arguments = []Type{ c.ScanExpression().Value().String(), } for { if c.Peek() == "," { c.Scan() Arguments = append(Arguments, c.ScanExpression().Value().String()) } else { c.Expecting(")") break } } c.Print(Arguments...) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.