630 |
* |
* |
631 |
* @param iArg - index of the function argument in question |
* @param iArg - index of the function argument in question |
632 |
* (must be between 0 .. maxAllowedArgs() - 1) |
* (must be between 0 .. maxAllowedArgs() - 1) |
633 |
|
* @param type - standard measurement unit data type used for that |
634 |
|
* function argument by currently parsed script |
635 |
* |
* |
636 |
* @return true if a metric prefix would be accepted for the respective |
* @return true if a metric prefix would be accepted for the respective |
637 |
* function argument by this function |
* function argument by this function |
638 |
* |
* |
639 |
* @see MetricPrefix_t |
* @see MetricPrefix_t |
640 |
*/ |
*/ |
641 |
virtual bool acceptsArgUnitPrefix(vmint iArg) const; |
virtual bool acceptsArgUnitPrefix(vmint iArg, StdUnit_t type) const; |
642 |
|
|
643 |
/** |
/** |
644 |
* This method is called by the parser to check whether arguments |
* This method is called by the parser to check whether arguments |
1470 |
bool isStringLiteral() const; ///< Returns true in case this source token represents a string literal (i.e. "Some text"). |
bool isStringLiteral() const; ///< Returns true in case this source token represents a string literal (i.e. "Some text"). |
1471 |
bool isComment() const; ///< Returns true in case this source token represents a source code comment. |
bool isComment() const; ///< Returns true in case this source token represents a source code comment. |
1472 |
bool isPreprocessor() const; ///< Returns true in case this source token represents a preprocessor statement. |
bool isPreprocessor() const; ///< Returns true in case this source token represents a preprocessor statement. |
1473 |
|
bool isMetricPrefix() const; |
1474 |
|
bool isStdUnit() const; |
1475 |
bool isOther() const; ///< Returns true in case this source token represents anything else not covered by the token types mentioned above. |
bool isOther() const; ///< Returns true in case this source token represents anything else not covered by the token types mentioned above. |
1476 |
|
|
1477 |
// extended types |
// extended types |