mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-17 18:22:09 +00:00
AS3 docs not correctly displayed under p-code when metadata present
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.docs;
|
||||
|
||||
import com.jpexs.decompiler.flash.ApplicationInfo;
|
||||
@@ -77,6 +78,9 @@ public class As3PCodeOtherDocs extends AbstractDocs {
|
||||
if (curPath.startsWith("trait.method")) {
|
||||
curPath = path.substring("trait.".length());
|
||||
}
|
||||
if (curPath.startsWith("method.body.trait.")) {
|
||||
curPath = path.substring("method.body.".length());
|
||||
}
|
||||
if (prop.containsKey(curPath)) {
|
||||
String docStr = prop.getString(curPath);
|
||||
sb.append("<div class=\"path-block\">");
|
||||
|
||||
@@ -63,6 +63,9 @@ trait.dispid = Dispatch id
|
||||
#slot/const/class/function
|
||||
trait.slotid = Slot id
|
||||
|
||||
trait.type = Type of trait
|
||||
trait.value = Default value for a trait
|
||||
|
||||
method = Method
|
||||
method.name = Name of the method
|
||||
method.flag = Method flag
|
||||
@@ -90,3 +93,4 @@ method.body.try.target = Position to which control should jump if exception of t
|
||||
method.body.try.type = Type of catched exception
|
||||
method.body.try.name = Name of the exception object
|
||||
method.body.code = Code of the method body
|
||||
method.body.trait = Trait of the method body
|
||||
|
||||
Reference in New Issue
Block a user