SDK defines a uast.Comment with multiple text components, namely Prefix, Tab, Text and Suffix. But to save some time we haven't implemented parsing of Tab.
This change implements Tag parsing properly. It also fixes problems with tab character detection in Prefix and Suffix.
This will change the way how Comment nodes are populated in Semantic mode. It only aligns the AST with the documented behavior though, so should be considered as a fix.
SDK defines a
uast.Comment
with multiple text components, namelyPrefix
,Tab
,Text
andSuffix
. But to save some time we haven't implemented parsing ofTab
.This change implements
Tag
parsing properly. It also fixes problems with tab character detection inPrefix
andSuffix
.This will change the way how
Comment
nodes are populated in Semantic mode. It only aligns the AST with the documented behavior though, so should be considered as a fix.