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

Constructors

EscapeSequence(Map<int, int> table)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table Map<int, int>
final

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