Skip to content

Commit

Permalink
Merge branch 'main' into androidsupport
Browse files Browse the repository at this point in the history
  • Loading branch information
biezhihua committed Sep 14, 2022
2 parents deffb95 + e828b59 commit 4eaf58d
Show file tree
Hide file tree
Showing 31 changed files with 1,465 additions and 370 deletions.

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions GaiaXAnalyze/GXAnalyzeCore/GXATSNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,13 @@ GXATSNode &GXATSNode::operator=(const GXATSNode &node) {
GXATSNode::name = node.name;
GXATSNode::detail = node.detail;
GXATSNode::token = node.token;
GXATSNode::count = node.count;
return *this;
}

GXATSNode::GXATSNode(string name, string detail, string token, int count) {
GXATSNode::name = name; //字段
GXATSNode::detail = detail; //code
GXATSNode::token = token; //类型
GXATSNode::count = count;
}
2 changes: 2 additions & 0 deletions GaiaXAnalyze/GXAnalyzeCore/GXATSNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ class GXATSNode {
public:
GXATSNode(); //无参构造函数
GXATSNode(string name, string detail, string token); //有参构造函数
GXATSNode(string name, string detail, string token,int count); //有参构造函数
~GXATSNode(); //析构函数
GXATSNode &operator=(const GXATSNode &node);

string name; //字段
string token; //类型
string detail;
int count;

private:
};
Expand Down
388 changes: 372 additions & 16 deletions GaiaXAnalyze/GXAnalyzeCore/GXAnalyze.cpp

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion GaiaXAnalyze/GXAnalyzeCore/GXAnalyze.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ class GXAnalyze {
//获取单个数值计算的结果
GXATSNode singleCalculate(GXATSNode value1, string op);

long check(string s, vector<GXATSNode> array, void *p_analyze, void* source,string expression);

long check(string s, vector<GXATSNode> array, void *p_analyze, void *source, string expression);
long calculateCache(string cache,vector<GXATSNode> array,void *p_analyze, void* source);
};

#endif /*include _GXAnalyze__H_*/
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fun View.setRoundCornerRadiusAndRoundCornerBorder(style: GXStyle?) {

// 2022/09/13
// Fix a ui bug
// Remove logic of radius increase because it will caused corner dim
// Remove logic of radius increase because it will cause corner dim
// if (cornerRadius != null && cornerRadius.size == 8 &&
// borderRadius != null && borderWidth != null && borderColor != null
// ) {
Expand Down
2 changes: 1 addition & 1 deletion GaiaXiOS/GaiaXiOS.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "GaiaXiOS"
s.version = "0.2.7"
s.version = "0.2.8"
s.platform = :ios, "9.0"
s.summary = "dynamic template engine is a lightweight cross-end solution of pure native dynamic card"

Expand Down
6 changes: 3 additions & 3 deletions GaiaXiOS/GaiaXiOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -653,16 +653,16 @@
isa = PBXGroup;
children = (
8DB609F827F4764E0038BE13 /* GXAnalyzeCore */,
8DB609F427F4764E0038BE13 /* GXAnalyzeBridge.h */,
8DB60A0F27F4764E0038BE13 /* GXValueParser.h */,
8DB609F727F4764E0038BE13 /* GXValueParser.m */,
8DB60A0727F4764E0038BE13 /* GXObject.h */,
8DB60A0E27F4764E0038BE13 /* GXObject.m */,
8DB60A0827F4764E0038BE13 /* GXContext.h */,
8DB609F527F4764E0038BE13 /* GXContext.mm */,
8DB60A0A27F4764E0038BE13 /* GXAnalyzeImpl.mm */,
8DB60A0B27F4764E0038BE13 /* GXAnalyzeImpl.hpp */,
8DB60A0A27F4764E0038BE13 /* GXAnalyzeImpl.mm */,
8DB609F427F4764E0038BE13 /* GXAnalyzeBridge.h */,
8DB60A0C27F4764E0038BE13 /* GXAnalyzeBridge.m */,
8DB60A0F27F4764E0038BE13 /* GXValueParser.h */,
8DB60A1027F4764E0038BE13 /* GXFunction.h */,
8DB60A0927F4764E0038BE13 /* GXFunction.m */,
8DB60A0D27F4764E0038BE13 /* GXNativeAnalyze.h */,
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,13 @@ GXATSNode &GXATSNode::operator=(const GXATSNode &node) {
GXATSNode::name = node.name;
GXATSNode::detail = node.detail;
GXATSNode::token = node.token;
GXATSNode::count = node.count;
return *this;
}

GXATSNode::GXATSNode(string name, string detail, string token, int count) {
GXATSNode::name = name; //字段
GXATSNode::detail = detail; //code
GXATSNode::token = token; //类型
GXATSNode::count = count;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ class GXATSNode {
public:
GXATSNode(); //无参构造函数
GXATSNode(string name, string detail, string token); //有参构造函数
GXATSNode(string name, string detail, string token,int count); //有参构造函数
~GXATSNode(); //析构函数
GXATSNode &operator=(const GXATSNode &node);

string name; //字段
string token; //类型
string detail;
int count;

private:
};
Expand Down
Loading

0 comments on commit 4eaf58d

Please sign in to comment.