=== Main function === main() { } --- (code (function (identifier (word)))) === Main function with string argument === main(string args) { } --- (code (function (identifier (word)) (param (type (word)) (word)))) === Main function with string array === main(string[] args) { } --- (code (function (identifier (word)) (param (type_array (word)) (word)))) === Package declaration === package MyPackage --- (code (package (package_name (word)))) === Use a package === use SomePackage --- (code (use (package_name (word)))) === Package with levels === use SomePackage.With.Nested.Levels --- (code (use (package_name (word) (word) (word) (word)))) === Declare package with levels === package MyPackage.Name.WithNested.Levels --- (code (package (package_name (word) (word) (word) (word)))) === Function declaration with generic === someDecl() { } --- (code (function (identifier (word) (type (word))))) === Class declaration === class SomeClass { } --- (code (class (identifier (word)))) === Contract declaration === contract Contract { } --- (code (contract (identifier (word))))