예제 #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