EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Data Structures | Functions | Variables

Common::Expression Namespace Reference

Data Structures

class  ValueExpression

Functions

def SplitString
 SplitString Split string to list according double quote For example: abc"de\"f"ghi"jkl"mn will be: ['abc', '"de"f"', 'ghi', '"jkl"', 'mn'].
def ReplaceExprMacro
 ReplaceExprMacro.

Variables

string ERR_STRING_EXPR = 'This operator cannot be used in string expression: [%s].'
string ERR_SNYTAX = 'Syntax error, the rest of expression cannot be evaluated: [%s].'
string ERR_MATCH = 'No matching right parenthesis.'
string ERR_STRING_TOKEN = 'Bad string token: [%s].'
string ERR_MACRO_TOKEN = 'Bad macro token: [%s].'
string ERR_EMPTY_TOKEN = 'Empty token is not allowed.'
string ERR_PCD_RESOLVE = 'PCD token cannot be resolved: [%s].'
string ERR_VALID_TOKEN = 'No more valid token found from rest of string: [%s].'
string ERR_EXPR_TYPE = 'Different types found in expression.'
string ERR_OPERATOR_UNSUPPORT = 'Unsupported operator: [%s]'
string ERR_REL_NOT_IN = 'Expect "IN" after "not" operator.'
string WRN_BOOL_EXPR = 'Operand of boolean type cannot be used in arithmetic expression.'
string WRN_EQCMP_STR_OTHERS = '== Comparison between Operand of string type and Boolean/Number Type always return False.'
string WRN_NECMP_STR_OTHERS = '!= Comparison between Operand of string type and Boolean/Number Type always return True.'
string ERR_RELCMP_STR_OTHERS = 'Operator taking Operand of string type and Boolean/Number Type is not allowed: [%s].'
string ERR_STRING_CMP = 'Unicode string and general string cannot be compared: [%s %s %s]'
string ERR_ARRAY_TOKEN = 'Bad C array or C format GUID token: [%s].'
string ERR_ARRAY_ELE = 'This must be HEX value for NList or Array: [%s].'

Function Documentation

def Common::Expression::ReplaceExprMacro (   String,
  Macros,
  ExceptionList = None 
)

ReplaceExprMacro.

Definition at line 70 of file Expression.py.

def Common::Expression::SplitString (   String)

SplitString Split string to list according double quote For example: abc"de\"f"ghi"jkl"mn will be: ['abc', '"de"f"', 'ghi', '"jkl"', 'mn'].

Definition at line 44 of file Expression.py.


Variable Documentation

string ERR_ARRAY_ELE = 'This must be HEX value for NList or Array: [%s].'

Definition at line 38 of file Expression.py.

string ERR_ARRAY_TOKEN = 'Bad C array or C format GUID token: [%s].'

Definition at line 37 of file Expression.py.

string ERR_EMPTY_TOKEN = 'Empty token is not allowed.'

Definition at line 26 of file Expression.py.

string ERR_EXPR_TYPE = 'Different types found in expression.'

Definition at line 29 of file Expression.py.

string ERR_MACRO_TOKEN = 'Bad macro token: [%s].'

Definition at line 25 of file Expression.py.

string ERR_MATCH = 'No matching right parenthesis.'

Definition at line 23 of file Expression.py.

string ERR_OPERATOR_UNSUPPORT = 'Unsupported operator: [%s]'

Definition at line 30 of file Expression.py.

string ERR_PCD_RESOLVE = 'PCD token cannot be resolved: [%s].'

Definition at line 27 of file Expression.py.

string ERR_REL_NOT_IN = 'Expect "IN" after "not" operator.'

Definition at line 31 of file Expression.py.

string ERR_RELCMP_STR_OTHERS = 'Operator taking Operand of string type and Boolean/Number Type is not allowed: [%s].'

Definition at line 35 of file Expression.py.

string ERR_SNYTAX = 'Syntax error, the rest of expression cannot be evaluated: [%s].'

Definition at line 22 of file Expression.py.

string ERR_STRING_CMP = 'Unicode string and general string cannot be compared: [%s %s %s]'

Definition at line 36 of file Expression.py.

string ERR_STRING_EXPR = 'This operator cannot be used in string expression: [%s].'

Definition at line 21 of file Expression.py.

string ERR_STRING_TOKEN = 'Bad string token: [%s].'

Definition at line 24 of file Expression.py.

string ERR_VALID_TOKEN = 'No more valid token found from rest of string: [%s].'

Definition at line 28 of file Expression.py.

string WRN_BOOL_EXPR = 'Operand of boolean type cannot be used in arithmetic expression.'

Definition at line 32 of file Expression.py.

string WRN_EQCMP_STR_OTHERS = '== Comparison between Operand of string type and Boolean/Number Type always return False.'

Definition at line 33 of file Expression.py.

string WRN_NECMP_STR_OTHERS = '!= Comparison between Operand of string type and Boolean/Number Type always return True.'

Definition at line 34 of file Expression.py.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines