);
our %BINOP_MAP = (
+
+ '+' => '+',
+ '-' => '-',
+ '/' => '/',
+ '*' => '*',
+
'>' => '>',
'>=' => '>=',
'<' => '<',
'==' => '=',
'!=' => '!=',
# LIKE is always "field LIKE <value>"
- '-like' => 'LIKE',
- '-not_like' => 'NOT LIKE',
+ 'like' => 'LIKE',
+ 'not_like' => 'NOT LIKE',
);
has expr_dispatch_table => (
required => 1
);
- has name_separator => (
+ has ident_separator => (
is => 'rw',
isa => NameSeparator,
default => '.',
);
# TODO: once MXMS supports %args, use that here
+ # TODO: improve this so you can pass other args
method create(ClassName $class: Int $ver) {
croak "AST version $ver is greater than supported version of $AST_VERSION"
if $ver > $AST_VERSION;