Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def p_asm_2(self, p):
""" asm_no_semi : asm_keyword LPAREN asm_argument_expression_list COLON \
asm_argument_expression_list RPAREN
"""
p[0] = Asm(p[1], p[3], p[5], None, None, coord=self._coord(p.lineno(2)))
def p_asm_1(self, p):
""" asm_no_semi : asm_keyword LPAREN asm_argument_expression_list RPAREN
"""
p[0] = Asm(p[1], p[3], None, None, None, coord=self._coord(p.lineno(2)))
def p_asm_3(self, p):
""" asm_no_semi : asm_keyword LPAREN asm_argument_expression_list COLON \
asm_argument_expression_list COLON asm_argument_expression_list \
RPAREN
"""
p[0] = Asm(p[1], p[3], p[5], p[7], None, coord=self._coord(p.lineno(2)))
def p_asm_4(self, p):
""" asm_no_semi : asm_keyword LPAREN asm_argument_expression_list COLON \
asm_argument_expression_list COLON asm_argument_expression_list \
COLON asm_argument_expression_list RPAREN
"""
p[0] = Asm(p[1], p[3], p[5], p[7], p[9], coord=self._coord(p.lineno(2)))