menu
dart_db_server package
documentation
server/parser.dart
Parser class
Parser class
dark_mode
light_mode
Parser
class
Constructors
Parser
(
List
<
Token
>
_tokens
)
Parser.fromString
(
String
sql
)
factory
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
namedParams
→
Set
<
String
>
Set of named parameters (sigil + name, e.g. ':foo') seen while parsing. Populated by
_parsePrimary
; surfaced by
Database.prepare
so callers can validate their bindings map.
final
paramCount
↔
int
Highest 1-based positional parameter index seen while parsing. Used by
Database.prepare
to know how many positional values to expect at execute time.
getter/setter pair
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseScript
(
)
→
List
<
Statement
>
parseStatement
(
)
→
Statement
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
dart_db_server package
documentation
server/parser
Parser class
parser library