EscapeSequence class
Parses the escape sequence and translates the found escaped character into another character and returns the escaped value.
Example:
EscapeSequence({0x22: 0x22,
0x2f: 0x2f,
0x5c: 0x5c,
0x62: 0x08,
0x66: 0x0c,
0x6e: 0x0a,
0x72: 0x0d,
0x74: 0x09
}));
- Inheritance
-
- Object
- ParserBuilder<
String, int> - EscapeSequence
Constructors
-
EscapeSequence(Map<
int, int> table) -
const
Properties
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