Misc. typo fixes
Various workbenches
This commit is contained in:
@@ -224,7 +224,7 @@ NumberExpression::NumberExpression(const DocumentObject *_owner, const Quantity
|
||||
}
|
||||
|
||||
/**
|
||||
* Evalute the expression. For NumberExpressions, it is a simply copy().
|
||||
* Evaluate the expression. For NumberExpressions, it is a simply copy().
|
||||
*/
|
||||
|
||||
Expression * NumberExpression::eval() const
|
||||
@@ -334,7 +334,7 @@ static bool definitelyLessThan(double a, double b, double epsilon)
|
||||
}
|
||||
|
||||
/**
|
||||
* Evalutate the expression. Returns a new Expression with the result, or throws
|
||||
* Evaluate the expression. Returns a new Expression with the result, or throws
|
||||
* an exception if something is wrong, i.e the expression cannot be evaluated.
|
||||
*/
|
||||
|
||||
@@ -1274,7 +1274,7 @@ int FunctionExpression::priority() const
|
||||
}
|
||||
|
||||
/**
|
||||
* Compute the dependecy set of the expression. The set contains the names
|
||||
* Compute the dependency set of the expression. The set contains the names
|
||||
* of all Property objects this expression relies on.
|
||||
*/
|
||||
|
||||
@@ -1355,7 +1355,7 @@ const Property * VariableExpression::getProperty() const
|
||||
}
|
||||
|
||||
/**
|
||||
* Evalute the expression. For a VariableExpression, this means to return the
|
||||
* Evaluate the expression. For a VariableExpression, this means to return the
|
||||
* value of the referenced Property. Quantities are converted to NumberExpression with unit,
|
||||
* int and floats are converted to a NumberExpression without unit. Strings properties
|
||||
* are converted to StringExpression objects.
|
||||
@@ -1449,7 +1449,7 @@ int VariableExpression::priority() const
|
||||
}
|
||||
|
||||
/**
|
||||
* Compute the dependecy of the expression. In this case \a props
|
||||
* Compute the dependency of the expression. In this case \a props
|
||||
* is a set of strings, i.e the names of the Property objects, and
|
||||
* the variable name this expression relies on is inserted into the set.
|
||||
* Notice that the variable may be unqualified, i.e without any reference
|
||||
@@ -1500,7 +1500,7 @@ StringExpression::StringExpression(const DocumentObject *_owner, const std::stri
|
||||
}
|
||||
|
||||
/**
|
||||
* Evalute the string. For strings, this is a simple copy of the object.
|
||||
* Evaluate the string. For strings, this is a simple copy of the object.
|
||||
*/
|
||||
|
||||
Expression * StringExpression::eval() const
|
||||
@@ -1759,7 +1759,7 @@ static const App::DocumentObject * DocumentObject = 0; /**< The DocumentObject t
|
||||
static bool unitExpression = false; /**< True if the parsed string is a unit only */
|
||||
static bool valueExpression = false; /**< True if the parsed string is a full expression */
|
||||
static std::stack<std::string> labels; /**< Label string primitive */
|
||||
static std::map<std::string, FunctionExpression::Function> registered_functions; /**< Registerd functions */
|
||||
static std::map<std::string, FunctionExpression::Function> registered_functions; /**< Registered functions */
|
||||
static int last_column;
|
||||
static int column;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user