mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-23 01:48:18 +00:00
Version 1.1 improvements (#88)
* fix 0 alignment in binary xml decoding * output reason for APK manifest read failure * try and match package name against process name when determining which pid to attach * make post launch pause user-configurable * code tidy, jsdocs and types * more types in expression parse classes * fix issue with expandable objects not evaluating * update build task example * fix package/type evaluation * improve handling of targetDevice and processID combinations * show full call stack by default * implement a queue for evaluations * improve performance of retrieving single fields * check root term identifiers against this fields
This commit is contained in:
@@ -88,10 +88,16 @@ class UnaryOpExpression extends ParsedExpression {
|
||||
}
|
||||
|
||||
class TernaryExpression extends ParsedExpression {
|
||||
|
||||
/**
|
||||
* @param {ParsedExpression} condition
|
||||
*/
|
||||
constructor(condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
/** @type {ParsedExpression} */
|
||||
this.ternary_true = null;
|
||||
/** @type {ParsedExpression} */
|
||||
this.ternary_false = null;
|
||||
}
|
||||
}
|
||||
@@ -101,17 +107,24 @@ class QualifierExpression extends ParsedExpression {
|
||||
}
|
||||
|
||||
class ArrayIndexExpression extends QualifierExpression {
|
||||
constructor(e) {
|
||||
/**
|
||||
* @param {ParsedExpression} index_expression
|
||||
*/
|
||||
constructor(index_expression) {
|
||||
super();
|
||||
this.indexExpression = e;
|
||||
this.indexExpression = index_expression;
|
||||
}
|
||||
}
|
||||
|
||||
class MethodCallExpression extends QualifierExpression {
|
||||
/** @type {ParsedExpression[]} */
|
||||
arguments = [];
|
||||
}
|
||||
|
||||
class MemberExpression extends QualifierExpression {
|
||||
/**
|
||||
* @param {string} name
|
||||
*/
|
||||
constructor(name) {
|
||||
super();
|
||||
this.name = name;
|
||||
|
||||
Reference in New Issue
Block a user