Lines Matching refs:code
328 case str(code):
329 for line in code.splitlines(keepends=True):
363 def __init__(self, code: str, **kwargs) -> None:
365 self.code = code
368 return self.emit_comment_tokens(inline=True) + [self.code]
432 def __init__(self, code: str, ty: Type, **kwargs) -> None:
434 self.code = code
437 return self.emit_comment_tokens() + [self.code]
703 code = self.emit_comment_tokens() + \
710 code[-1] += '\n'
711 code.append(CodeCC.NEST)
716 if not indent: code[-1] += ' '
717 code.append(name + ';')
718 if indent: code[-1] += '\n'
720 code.append(name)
721 code.extend(InvokableDefinition.p_definition_tail(cg, get_body))
727 code.append(CodeCC.UNNEST)
728 code.append('}\n')
730 code.append(' }\n')
732 return code