Open catfishuang opened 5 years ago
com.dianping.picasso.view.PicassoTextView extend com.dianping.richtext.BaseRichTextView; extend android.support.v7.widget.AppCompatTextView extend android.widget.TextView
query("* marked:'a name'"), can not find the element
any way to support the custom TextView ? modify the WILDCARD branch ?
public static UIQueryAST uiQueryFromAst(CommonTree step) { String stepType = UIQueryParser.tokenNames[step.getType()]; switch (step.getType()) { case UIQueryParser.QUALIFIED_NAME: return UIQueryASTClassName.fromQualifiedClassName(step.getText()); case UIQueryParser.NAME: return UIQueryASTClassName.fromSimpleClassName(step.getText()); case UIQueryParser.WILDCARD: return UIQueryASTClassName.fromQualifiedClassName("android.view.View");
com.dianping.picasso.view.PicassoTextView extend com.dianping.richtext.BaseRichTextView; extend android.support.v7.widget.AppCompatTextView extend android.widget.TextView
query("* marked:'a name'"), can not find the element
any way to support the custom TextView ? modify the WILDCARD branch ?
public static UIQueryAST uiQueryFromAst(CommonTree step) { String stepType = UIQueryParser.tokenNames[step.getType()]; switch (step.getType()) { case UIQueryParser.QUALIFIED_NAME: return UIQueryASTClassName.fromQualifiedClassName(step.getText()); case UIQueryParser.NAME: return UIQueryASTClassName.fromSimpleClassName(step.getText()); case UIQueryParser.WILDCARD: return UIQueryASTClassName.fromQualifiedClassName("android.view.View");