[gnome-calculator] GCalc: renamed GExpression to Expression
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] GCalc: renamed GExpression to Expression
- Date: Thu, 17 Oct 2019 19:07:01 +0000 (UTC)
commit 1bae5ae7700f4bc51c7028e8953af4eb8c21ad6e
Author: Daniel Espinosa <esodan gmail com>
Date: Thu Oct 17 10:10:42 2019 -0500
GCalc: renamed GExpression to Expression
gcalc/{gcalc-gexpression.vala => gcalc-expression.vala} | 4 ++--
gcalc/gcalc-gassign.vala | 2 +-
gcalc/gcalc-gconstant.vala | 2 +-
gcalc/gcalc-gdivision.vala | 2 +-
gcalc/gcalc-gfunction.vala | 2 +-
gcalc/gcalc-ggroup.vala | 2 +-
gcalc/gcalc-gmath-equation.vala | 2 +-
gcalc/gcalc-gminus.vala | 2 +-
gcalc/gcalc-gmultiply.vala | 2 +-
gcalc/gcalc-gplus.vala | 2 +-
gcalc/gcalc-gpolynomial.vala | 2 +-
gcalc/gcalc-gpow.vala | 2 +-
gcalc/gcalc-gterm.vala | 2 +-
gcalc/gcalc-gvariable.vala | 2 +-
gcalc/meson.build | 2 +-
15 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/gcalc/gcalc-gexpression.vala b/gcalc/gcalc-expression.vala
similarity index 91%
rename from gcalc/gcalc-gexpression.vala
rename to gcalc/gcalc-expression.vala
index 54d7423e..84bae3d4 100644
--- a/gcalc/gcalc-gexpression.vala
+++ b/gcalc/gcalc-expression.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GExpression : Object, MathExpression {
+public class GCalc.Expression : Object, MathExpression {
ExpressionContainer exps = new ExpressionContainer ();
construct {
exps.parent = this;
@@ -39,5 +39,5 @@ public class GCalc.GExpression : Object, MathExpression {
}
-public class GCalc.GErrorExpression : GExpression, ErrorExpression {}
+public class GCalc.GErrorExpression : Expression, ErrorExpression {}
diff --git a/gcalc/gcalc-gassign.vala b/gcalc/gcalc-gassign.vala
index 654bc540..be3d6a41 100644
--- a/gcalc/gcalc-gassign.vala
+++ b/gcalc/gcalc-gassign.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GAssign : GExpression, Operator, BinaryOperator, Assign {
+public class GCalc.GAssign : Expression, Operator, BinaryOperator, Assign {
internal override string to_string () {
if (expressions.get_n_items () != 2) {
return "Invalid Assigment structure";
diff --git a/gcalc/gcalc-gconstant.vala b/gcalc/gcalc-gconstant.vala
index 415d2853..51fa569a 100644
--- a/gcalc/gcalc-gconstant.vala
+++ b/gcalc/gcalc-gconstant.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GConstant : GExpression, Constant {
+public class GCalc.GConstant : Expression, Constant {
private MPC.Complex _complex = MPC.Complex (1000);
internal unowned MPC.Complex get_complex () { return _complex; }
diff --git a/gcalc/gcalc-gdivision.vala b/gcalc/gcalc-gdivision.vala
index 9657d0c1..1d748533 100644
--- a/gcalc/gcalc-gdivision.vala
+++ b/gcalc/gcalc-gdivision.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GDivision : GExpression, Operator, BinaryOperator, Division {
+public class GCalc.GDivision : Expression, Operator, BinaryOperator, Division {
internal override string to_string () {
return "/";
}
diff --git a/gcalc/gcalc-gfunction.vala b/gcalc/gcalc-gfunction.vala
index c9508b5f..558da0f9 100644
--- a/gcalc/gcalc-gfunction.vala
+++ b/gcalc/gcalc-gfunction.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GFunction : GExpression, Function, Hashable {
+public class GCalc.GFunction : Expression, Function, Hashable {
ExpressionContainer _param_types = new ExpressionContainer ();
internal ExpressionContainer param_types { get { return _param_types; } }
diff --git a/gcalc/gcalc-ggroup.vala b/gcalc/gcalc-ggroup.vala
index ad38ba86..8b86f9d3 100644
--- a/gcalc/gcalc-ggroup.vala
+++ b/gcalc/gcalc-ggroup.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GGroup : GExpression, Group {
+public class GCalc.GGroup : Expression, Group {
internal Group.Level level { get; set; }
internal bool closed { get; set; }
internal override string to_string () {
diff --git a/gcalc/gcalc-gmath-equation.vala b/gcalc/gcalc-gmath-equation.vala
index 316fe7b5..2a94e88a 100644
--- a/gcalc/gcalc-gmath-equation.vala
+++ b/gcalc/gcalc-gmath-equation.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GMathEquation : GExpression, MathEquation {
+public class GCalc.GMathEquation : Expression, MathEquation {
ExpressionHashMap _variables = new ExpressionHashMap ();
internal ExpressionHashMap variables { get { return _variables; } }
internal override Result solve () {
diff --git a/gcalc/gcalc-gminus.vala b/gcalc/gcalc-gminus.vala
index 6a2c1561..82721419 100644
--- a/gcalc/gcalc-gminus.vala
+++ b/gcalc/gcalc-gminus.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GMinus : GExpression, Operator, BinaryOperator, Minus {
+public class GCalc.GMinus : Expression, Operator, BinaryOperator, Minus {
internal override string to_string () {
return "-";
}
diff --git a/gcalc/gcalc-gmultiply.vala b/gcalc/gcalc-gmultiply.vala
index fab49f98..76935734 100644
--- a/gcalc/gcalc-gmultiply.vala
+++ b/gcalc/gcalc-gmultiply.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GMultiply : GExpression, Operator, BinaryOperator, Multiply {
+public class GCalc.GMultiply : Expression, Operator, BinaryOperator, Multiply {
internal override string to_string () {
return "*";
}
diff --git a/gcalc/gcalc-gplus.vala b/gcalc/gcalc-gplus.vala
index 563a7a0e..5eb95d5e 100644
--- a/gcalc/gcalc-gplus.vala
+++ b/gcalc/gcalc-gplus.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GPlus : GExpression, Operator, BinaryOperator, Plus {
+public class GCalc.GPlus : Expression, Operator, BinaryOperator, Plus {
internal override string to_string () {
return "+";
}
diff --git a/gcalc/gcalc-gpolynomial.vala b/gcalc/gcalc-gpolynomial.vala
index cbfc35e9..86f72800 100644
--- a/gcalc/gcalc-gpolynomial.vala
+++ b/gcalc/gcalc-gpolynomial.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GPolynomial : GExpression, Polynomial {
+public class GCalc.GPolynomial : Expression, Polynomial {
internal override Result solve () {
Result res = null;
try {
diff --git a/gcalc/gcalc-gpow.vala b/gcalc/gcalc-gpow.vala
index 9d67aae3..5dded934 100644
--- a/gcalc/gcalc-gpow.vala
+++ b/gcalc/gcalc-gpow.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GPow : GExpression, Operator, Pow {
+public class GCalc.GPow : Expression, Operator, Pow {
internal override string to_string () {
return "^";
}
diff --git a/gcalc/gcalc-gterm.vala b/gcalc/gcalc-gterm.vala
index b09e52dc..9c7eaf72 100644
--- a/gcalc/gcalc-gterm.vala
+++ b/gcalc/gcalc-gterm.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GTerm : GExpression, Term {
+public class GCalc.GTerm : Expression, Term {
internal override Result solve () {
Result res = null;
try {
diff --git a/gcalc/gcalc-gvariable.vala b/gcalc/gcalc-gvariable.vala
index e0f4de46..890975ce 100644
--- a/gcalc/gcalc-gvariable.vala
+++ b/gcalc/gcalc-gvariable.vala
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GVariable : GExpression, Variable, Hashable {
+public class GCalc.GVariable : Expression, Variable, Hashable {
public string name { get; construct set; }
internal Constant value { get; set; }
diff --git a/gcalc/meson.build b/gcalc/meson.build
index 16762498..87b79dec 100644
--- a/gcalc/meson.build
+++ b/gcalc/meson.build
@@ -80,7 +80,7 @@ gcalc_sources = files([
'gcalc-function-tan.vala',
'gcalc-function-tanh.vala',
'gcalc-error-result.vala',
- 'gcalc-gexpression.vala',
+ 'gcalc-expression.vala',
'gcalc-gassign.vala',
'gcalc-gconstant.vala',
'gcalc-gdivision.vala',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]