/
Global Table (_G)

Global Table (_G)

_G gives the Translator ‘global’ table which has all the libraries and functions under it. You can use it to browse the entire Translator API and any custom functions or global variables you have created.

Using trace(_G) allows you to get a browse-able tree of all the functions available:

This can also be helpful when leveraging deep Auto-Completion, if you know roughly what you are looking for. For example, by typing _G.par we can see all the parsing related functions:

 

Related content

Help Index
More like this
Using trace() function
Using trace() function
More like this
Annotation Windows
Annotation Windows
More like this
Lua File (*.lua)
Lua File (*.lua)
More like this
Auto-Completion
Auto-Completion
More like this
Error Stack Trace
Error Stack Trace
More like this