Package convex.core.lang.reader
Class ReaderUtils
java.lang.Object
convex.core.lang.reader.ReaderUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static Symbol
interpretMetadata
(ACell metaNode) Converts a metadata object according to the following rule: - Map -> unchanged - Keyword -> {:keyword true} - Any other expression -> {:tag expression}static CVMChar
static ACell
static String
Unescapes a string according to Java rules
-
Constructor Details
-
ReaderUtils
public ReaderUtils()
-
-
Method Details
-
interpretMetadata
Converts a metadata object according to the following rule: - Map -> unchanged - Keyword -> {:keyword true} - Any other expression -> {:tag expression}- Parameters:
metaNode
- Syntax node containing metadata- Returns:
- Metadata map
-
specialCharacter
-
getQuotingSymbol
-
unescapeString
Unescapes a string according to Java rules- Parameters:
s
- String to unescape- Returns:
- Unescaped string
-
escapeString
-
specialLiteral
-