| Compiler.lua |
ckknight |
ckknight |
19 Dec 2008 |
| :AddCompilationStep("namespace" , "kind" , func) Arguments "namespace" string - namespace to run the compilation step on "kind" string - kind of compilation step, can be "pre", "start", "tag", "tagevents", or "finish" func function - the function to run Example DogTag:AddCompilationStep("MyNamespace", "start", function(t, ast, kwargTypes, extraKwargs) -- do something here end) string table :CreateFunctionFromCode("code" [, nsList] [, kwargs] [, notDebug]) Arguments "code" string - a tag... |
| Events.lua |
ckknight |
ckknight |
19 Dec 2008 |
| string table value :AddCallback("code" , callback [, nsList] [, kwargs] [, extraArg]) Arguments "code" string - the tag sequence callback function - the function to be called nsList string - a semicolon-separated list of namespaces. Base is implied kwargs table - a dictionary of default kwargs for all tags in the code to receive extraArg value - a value that will be passed into the callback Notes Adds a callback that will be called if the code in question is to be updated. Example... |
| Help.lua |
ckknight |
ckknight |
19 Dec 2008 |
| :OpenHelp() No arguments |
| Helpers.lua |
ckknight |
ckknight |
19 Dec 2008 |
| :clearCodes(namespace) Arguments namespace type - (needs documentation) :deepCopy(t) Arguments t type - (needs documentation) :deepDel(t) Arguments t type - (needs documentation) :del(t) Arguments t type - (needs documentation) :getASTType(ast) Arguments ast type - (needs documentation) :joinSet(set , connector) Arguments set type - (needs documentation) connector type - (needs documentation) :key_sort(alpha , bravo) Arguments alpha type - (needs documentation) bravo type - (needs... |
| LibDogTag-3.0.lua |
ckknight |
ckknight |
19 Dec 2008 |
| :AddAddonFinder("namespace" , "kind" , "name" , func) Arguments "namespace" string - namespace the addon finder is associated with "kind" string - "_G" for a value on the global table or "LibStub", "Rock", "AceLibrary" for a library of the specified type "name" string - name of the addon or library func function - function to be called when addon or library is found Notes Adds a handler to be called when an addon or library comes into being This should only really be called by sublibraries or... |
| Parser.lua |
ckknight |
ckknight |
19 Dec 2008 |
| :CleanCode("code") Arguments "code" string - the tag sequence to check Notes This takes a tag sequence that a user can enter and updates it for style purposes. e.g. [name] => [Name], [5-12] => [5 - 12] Returns string - the same tag sequence, corrected for style. Example local code = LibStub("LibDogTag-3.0"):CleanCode("[name][level]") -- "[Name Level]" :ColorizeCode("code") Arguments "code" string - the tag sequence to check Notes This colorizes a tag sequence by syntax to make it easier to... |
| test.lua |
ckknight |
ckknight |
19 Dec 2008 |
| :CreateFontString(parent , name , layer) Arguments parent type - (needs documentation) name type - (needs documentation) layer type - (needs documentation) :CreateFrame(frameType , ...) Arguments frameType type - (needs documentation) ... type - (needs documentation) :FireEvent(event , ...) Arguments event type - (needs documentation) ... type - (needs documentation) :FireOnUpdate(elapsed) Arguments elapsed type - (needs documentation) :GetMouseFocus() No arguments :GetTime() No arguments... |