Created
February 28, 2018 23:45
-
-
Save AndyG/aae13d724ca2f3d4c99b0d56f7160a3d to your computer and use it in GitHub Desktop.
SimpleAST TextNode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TextNode(val content: String) : SpannableRenderableNode() { | |
override fun render(builder: SpannableStringBuilder, context: Context?) { | |
builder.append(content) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment