Пример #1
0
def p_start_python_assertion(p):
    ''' start_python_assertion :
    '''
    scanner.start_code(multiline = True,
                       var_format = "context.lookup_data('%s')")
    p[0] = None
Пример #2
0
def p_start_python_statements(p):
    ''' start_python_statements :
    '''
    scanner.start_code(multiline = True)
    p[0] = None
Пример #3
0
def p_start_extra_statements(p):
    ''' start_extra_statements :
    '''
    scanner.start_code(multiline = True, var_format = None)
    p[0] = None
Пример #4
0
def p_start_python_code(p):
    ''' start_python_code :
    '''
    scanner.start_code(var_format = "context.lookup_data('%s')")
    p[0] = None
Пример #5
0
def p_start_python_plan_call(p):
    ''' start_python_plan_call :
    '''
    scanner.start_code(plan_name = plan_var, multiline = True)
    p[0] = None
Пример #6
0
def p_start_python_assertion(p):
    ''' start_python_assertion :
    '''
    scanner.start_code(multiline=True, var_format="context.lookup_data('%s')")
    p[0] = None
Пример #7
0
def p_start_extra_statements(p):
    ''' start_extra_statements :
    '''
    scanner.start_code(multiline=True, var_format=None)
    p[0] = None
Пример #8
0
def p_start_python_statements(p):
    ''' start_python_statements :
    '''
    scanner.start_code(multiline=True)
    p[0] = None
Пример #9
0
def p_start_python_plan_call(p):
    ''' start_python_plan_call :
    '''
    scanner.start_code(plan_name=plan_var, multiline=True)
    p[0] = None
Пример #10
0
def p_start_python_code(p):
    ''' start_python_code :
    '''
    scanner.start_code(var_format="context.lookup_data('%s')")
    p[0] = None