Download
(2 Kb)
Download
Updated: 10/11/15 10:27 AM
Compatibility:
Update 7 (1.7.0)
Updated:10/11/15 10:27 AM
Created:10/11/15 10:27 AM
Monthly downloads:38
Total downloads:1,938
Favorites:1
MD5:
ESOParser
Version: 1
by: Ayantir [More]
THIS IS NOT AN ADDON

ESOParser parse Lua files to collect data from source code. it's still an experimental, quick and dirty code.
It now dump (only) function definitions.

It's a 100% Lua parsing

It will require Lua console installed on your computer :
If you're on Windows, you're greatly encouraged to install https://code.google.com/p/luaforwindows/

Usage :
  1. Start a command shell (cmd)
  2. Run the command : lua "C:\Path\Where\The\Script\Is\ESOParser.lua" "C:\Path\Of\Your\Lua\Files"

As the description said, arg1 is mandatory, it's the path of the Lua files to scan
Script will scan all files and create a dump file ESOParse.txt in the root folder given.

Example :
C:\Users\Loup>lua "C:\Users\Loup\Documents\Elder Scrolls Online\dev\my_dev\ESOParser\ESOParser.lua" "C:\Users\Loup\Documents\Elder Scrolls Online\dev\my_dev\ESOParser\esoui"
Will create file C:\Users\Loup\Documents\Elder Scrolls Online\dev\my_dev\ESOParser\esoui\ESOParse.txt


In this file will be listed all public functions found grouped by folder depth.

Folder dept is configurable in script (for now) , in ESOParse.lua#30
Lua Code:
  1. local defaultDepth = 2



Ex :


Because depth is = 2, all functions defined in app\globals\ will be grouped. Same for app\loadingscreen\
If depth was set to 1, grouping would be on the app\ folder


Lua Code:
  1. C:\Users\Loup\Documents\Elder Scrolls Online\dev\my_dev\ESOParser\esoui\app\globals
  2. function zo_mixin(object, ...)
  3.  
  4.  
  5. C:\Users\Loup\Documents\Elder Scrolls Online\dev\my_dev\ESOParser\esoui\app\loadingscreen
  6. function LoadingScreen_Gamepad:InitializeAnimations()
  7. function LoadingScreen_Gamepad:GetSystemName()
  8. function LoadingScreen_Gamepad:OnLongLoadTime(event)
  9. function LoadingScreen_Gamepad:IsPreferredScreen()
  10. function ZO_InitGamepadLoadScreen(control)
  11. function LoadingScreen_Keyboard:InitializeAnimations()
  12. function LoadingScreen_Keyboard:IsPreferredScreen()
  13. function LoadingScreen_Keyboard:GetSystemName()
  14. function ZO_InitKeyboardLoadScreen(control)
  15. function GetInstanceDisplayTypeIcon(instanceType)
  16. function LoadingScreen_Base:Initialize()
  17. function LoadingScreen_Base:SizeLoadingTexture()
  18. function LoadingScreen_Base:OnAreaLoadStarted(evt, area, instance, zoneName, zoneDescription, loadingTexture, instanceType)
  19. function LoadingScreen_Base:OnPrepareForJump(evt, zoneName, zoneDescription, loadingTexture, instanceType)
  20. function LoadingScreen_Base:OnJumpFailed()
  21. function LoadingScreen_Base:Show(zoneName, zoneDescription, loadingTexture, instanceType, useInstanceTypeFormat)
  22. function LoadingScreen_Base:Hide()
  23. function LoadingScreen_Base:Update()
  24. function LoadingScreen_Base:OnZoneDescriptionNewUserAreaCreated(control, areaData, areaText, left, right, top, bottom)
  25. function LoadingScreen_Base:SetZoneDescription(tip)


This script also works with your addons

Ex with Combat Cloud addon :

Code:
Folder given : C:\Users\Loup\Documents\Elder Scrolls Online\liveeu\AddOns\CombatCloud

Depth of analysis given : 2 sub-folders





C:\Users\Loup\Documents\Elder Scrolls Online\liveeu\AddOns\CombatCloud\Core\EventListeners
function CombatCloud_Animation:New()
function CombatCloud_Animation:Apply(control)
function CombatCloud_Animation:Stop()
function CombatCloud_Animation:SetProgress(progress)
function CombatCloud_Animation:Play()
function CombatCloud_Animation:PlayForward()
function CombatCloud_Animation:PlayInstantlyToEnd()
function CombatCloud_Animation:Alpha(stepName, startAlpha, endAlpha, duration, delay, easingFunc)
function CombatCloud_Animation:Scale(stepName, startScale, endScale, duration, delay, easingFunc)
function CombatCloud_Animation:Move(stepName, offsetX, offsetY, duration, delay, easingFunc)
function CombatCloud_Animation:InsertCallback(func, delay)
function CombatCloud_Animation:ClearCallbacks()
function CombatCloud_Animation:GetStep(i)
function CombatCloud_Animation:GetStepByName(stepName)
function CombatCloud_Animation:GetLastStep()
function CombatCloud_Animation:SetStepDelay(step, delay)
function CombatCloud_Animation:GetDuration()
function CombatCloud_Animation:GetProgress()
function CombatCloud_AlertEventListener:New()
function CombatCloud_AlertEventListener:OnEvent(tipId)
function CombatCloud_CombatEventListener:New()
function CombatCloud_CombatEventListener:OnEvent(...)
function CombatCloud_CombatEventListener:CombatState(inCombat)
function CombatCloud_PointsAllianceEventListener:New()
function CombatCloud_PointsAllianceEventListener:OnEvent(alliancePoints, playSound, difference)
function CombatCloud_PointsExperienceEventListener:New()
function CombatCloud_PointsExperienceEventListener:OnEvent(unit, currentXp, maxXp)
function CombatCloud_PointsVeteranEventListener:New()
function CombatCloud_PointsVeteranEventListener:OnEvent(unit, currentPoints, maxPoints, reason)
function CombatCloud_ResourcesPotionEventListener:New()
function CombatCloud_ResourcesPowerEventListener:New()
function CombatCloud_ResourcesPowerEventListener:OnEvent(unit, powerPoolIndex, powerType, power, powerMax)
function CombatCloud_ResourcesUltimateEventListener:New()
function CombatCloud_ResourcesUltimateEventListener:OnEvent(unit, powerPoolIndex, powerType, power, powerMax)
function CombatCloud_ResourcesUltimateEventListener:UpdateMaximum()
function CombatCloud_EventListener:New()
function CombatCloud_EventListener:RegisterForEvent(event, func, ...)
function CombatCloud_EventListener:TriggerEvent(...)


C:\Users\Loup\Documents\Elder Scrolls Online\liveeu\AddOns\CombatCloud\Core\EventViewers
function CombatCloud_AlertEventViewer:New(...)
function CombatCloud_AlertEventViewer:OnEvent(alertType, value)
function CombatCloud_CombatCloudEventViewer:New(...)
function CombatCloud_CombatCloudEventViewer:OnEvent(combatType, powerType, value, abilityName, abilityId, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical)
function CombatCloud_CombatCloudEventViewer:ViewFromEventBuffer(combatType, powerType, eventKey, abilityName, abilityId, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical)
function CombatCloud_CombatCloudEventViewer:View(combatType, powerType, value, abilityName, abilityId, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical, hits)
function CombatCloud_CombatEllipseEventViewer:New(...)
function CombatCloud_CombatEllipseEventViewer:OnEvent(combatType, powerType, value, abilityName, abilityId, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical)
function CombatCloud_CombatEllipseEventViewer:ViewFromEventBuffer(combatType, powerType, eventKey, abilityName, abilityId, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical)
function CombatCloud_CombatEllipseEventViewer:View(combatType, powerType, value, abilityName, abilityId, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical, hits)
function CombatCloud_CombatHybridEventViewer:New(...)
function CombatCloud_CombatHybridEventViewer:OnEvent(combatType, powerType, value, abilityName, abilityId, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical)
function CombatCloud_CombatHybridEventViewer:ViewFromEventBuffer(combatType, powerType, eventKey, abilityName, abilityId, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical)
function CombatCloud_CombatHybridEventViewer:View(combatType, powerType, value, abilityName, abilityId, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical, hits)
function CombatCloud_CombatScrollEventViewer:New(...)
function CombatCloud_CombatScrollEventViewer:OnEvent(combatType, powerType, value, abilityName, abilityId, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical)
function CombatCloud_CombatScrollEventViewer:ViewFromEventBuffer(combatType, powerType, eventKey, abilityName, abilityId, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical)
function CombatCloud_CombatScrollEventViewer:View(combatType, powerType, value, abilityName, abilityId, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical, hits)
function CombatCloud_CrowdControlEventViewer:New(...)
function CombatCloud_CrowdControlEventViewer:OnEvent(crowdControlType, combatType)
function CombatCloud_PointEventViewer:New(...)
function CombatCloud_PointEventViewer:OnEvent(pointType, value)
function CombatCloud_ResourceEventViewer:New(...)
function CombatCloud_ResourceEventViewer:OnEvent(resourceType, value)
function CombatCloud_EventViewer:New(poolManager, LMP)
function CombatCloud_EventViewer:FormatString(inputFormat, params)
function CombatCloud_EventViewer:GetTextAtributes(powerType, damageType, isDamage, isHealing, isEnergize, isDrain, isDot, isHot, isMiss, isImmune, isParried, isReflected, isDamageShield, isDodged, isBlocked, isInterrupted, isCritical)
function CombatCloud_EventViewer:ControlLayout(control, abilityId, combatType)
function CombatCloud_EventViewer:RegisterCallback(eventType, func)
function CombatCloud_EventViewer:PrepareLabel(label, fontSize, color, text)
function CombatCloud_EventViewer:IsOverlapping(control, activeControls)


C:\Users\Loup\Documents\Elder Scrolls Online\liveeu\AddOns\CombatCloud\Core
function CombatCloud_Pool:New(poolType)
function CombatCloud_Pool:CreateNewControl()
function CombatCloud_Pool.ResetControl(control)
function CombatCloud_Pool:CreateNewAnimation()
function CombatCloud_PoolManager:New()
function CombatCloud_PoolManager:RegisterPool(poolType, pool)
function CombatCloud_PoolManager:GetPoolObject(poolType)
function CombatCloud_PoolManager:ReleasePoolObject(poolType, objectKey)
function CombatCloud_PoolManager:TotalFree()
function CombatCloud_PoolManager:TotalInUse()


C:\Users\Loup\Documents\Elder Scrolls Online\liveeu\AddOns\CombatCloud\Libs\LibAddonMenu
function LAMCreateControl.button(parent, buttonData, controlName)
function LAMCreateControl.checkbox(parent, checkboxData, controlName)
function LAMCreateControl.colorpicker(parent, colorpickerData, controlName)
function LAMCreateControl.custom(parent, customData, controlName)
function LAMCreateControl.description(parent, descriptionData, controlName)
function LAMCreateControl.dropdown(parent, dropdownData, controlName)
function LAMCreateControl.editbox(parent, editboxData, controlName)
function LAMCreateControl.header(parent, headerData, controlName)
function IconPickerMenu:New(...)
function IconPickerMenu:Initialize(name)
function IconPickerMenu:OnMouseEnter(icon)
function IconPickerMenu:OnMouseExit(icon)
function IconPickerMenu:SetMaxColumns(value)
function IconPickerMenu:SetIconSize(value)
function IconPickerMenu:SetVisibleRows(value)
function IconPickerMenu:SetMouseHandlers(onEnter, onExit)
function IconPickerMenu:UpdateDimensions()
function IconPickerMenu:UpdateAnchors()
function IconPickerMenu:Clear()
function IconPickerMenu:AddIcon(texturePath, callback, tooltip)
function IconPickerMenu:Show(parent)
function IconPickerMenu:SetColor(color)
function LAMCreateControl.iconpicker(parent, iconpickerData, controlName)
function LAMCreateControl.panel(parent, panelData, controlName)
function LAMCreateControl.slider(parent, sliderData, controlName)
function LAMCreateControl.submenu(parent, submenuData, controlName)
function LAMCreateControl.texture(parent, textureData, controlName)
function lam:RegisterWidget(widgetType, widgetVersion)
function lam:OpenToPanel(panel)
function lam:RegisterAddonPanel(addonID, panelData)
function lam:RegisterOptionControls(addonID, optionsTable)
function panelData.callback()
function panelData.unselectedCallback()
function CheckSafetyAndInitialize(addonID)
function lam:GetAddonPanelContainer()
function lam:GetAddonSettingsFragment()


C:\Users\Loup\Documents\Elder Scrolls Online\liveeu\AddOns\CombatCloud\Libs\LibMediaProvider
function LMP:Register(mediatype, key, data)
function LMP:Fetch(mediatype, key)
function LMP:IsValid(mediatype, key)
function LMP:HashTable(mediatype)
function LMP:List(mediatype)
function LMP:GetDefault(mediatype)
function LMP:SetDefault(mediatype, key)


C:\Users\Loup\Documents\Elder Scrolls Online\liveeu\AddOns\CombatCloud\Libs\LibStub
function LibStub:NewLibrary(major, minor)
function LibStub:GetLibrary(major, silent)
function LibStub:IterateLibraries() return pairs(self.libs) end


C:\Users\Loup\Documents\Elder Scrolls Online\liveeu\AddOns\CombatCloud
function CombatCloud.RegisterMedia(LMP)
function CombatCloud.RegisterOptions()


Lua files found : 47

Lua functions found : 127
Optional Files (0)


There have been no comments posted to this file.
Be the first to add one.



Category Jump: