MCPcopy Create free account
hub / github.com/webpy/webpy / TextNode

Class TextNode

web/template.py:570–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568
569
570class TextNode:
571 def __init__(self, value):
572 self.value = value
573
574 def emit(self, indent, begin_indent=""):
575 return repr(safeunicode(self.value))
576
577 def __repr__(self):
578 return "t" + repr(self.value)
579
580
581class ExpressionNode:

Callers 3

read_varMethod · 0.85
read_nodeMethod · 0.85
read_textMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected