StringValue class

Parses the value of a string data type using the normalChar predicate to parse regular (unescaped) characters, using the controlChar character to match an escape character, and the escape parser to parse the interpretation of the escape sequence.

Example:

StringValue(_isNormalChar, 0x5c, _escaped);
Inheritance

Constructors

StringValue(SemanticAction<bool> normalChar, int controlChar, ParserBuilder<String, int> escape)
const

Properties

controlChar int
final
escape ParserBuilder<String, int>
final
hashCode int
The hash code for this object.
no setterinherited
normalChar SemanticAction<bool>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addResultsToTemplateValues(Map<String, String> values, List<ParserResult?> results) → void
inherited
build(Context context, ParserResult? result) String
override
getInputType() String
inherited
getResultType() String
inherited
getResultValue(String name) String
inherited
isNullableResultType() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(String template, Map<String, String> values, [List<ParserResult?>? results]) String
inherited
render2(bool condition, String template1, String template2, Map<String, String> values, [List<ParserResult?>? results]) String
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited