Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query builder v2 #1

Open
wants to merge 131 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
ec76977
Rebase to v1 driver
quinchs Oct 19, 2022
5fe680a
Generate docs
github-actions[bot] Oct 19, 2022
2806100
update querybuilder example
quinchs Oct 19, 2022
09e2337
Merge branch 'feat/querybuilder-v2' of https://github.com/edgedb/edge…
quinchs Oct 19, 2022
e148256
Merge branch 'dev' into feat/querybuilder-v2
quinchs Oct 19, 2022
0fd1140
Merge branch 'dev' into feat/querybuilder-v2
quinchs Oct 19, 2022
5ef6be1
Merge branch 'dev' into feat/querybuilder-v2
quinchs Oct 19, 2022
89e7d8a
add querybuilder back to prerelease workflow
quinchs Oct 21, 2022
7c1497b
Merge branch 'dev' into feat/querybuilder-v2
quinchs Oct 21, 2022
9107dd3
Fix cherrypicking of properties
quinchs Oct 21, 2022
bc722ab
Generate docs
github-actions[bot] Oct 21, 2022
45b683e
update config method ref
quinchs Oct 24, 2022
5972880
Merge branch 'dev' into feat/querybuilder-v2
quinchs Oct 25, 2022
e205a38
Generate docs
github-actions[bot] Oct 25, 2022
4ce520a
Merge branch 'dev' into feat/querybuilder-v2
quinchs Oct 25, 2022
26de1fd
Merge branch 'dev' into feat/querybuilder-v2
quinchs Oct 26, 2022
81cea4d
Merge branch 'dev' into feat/querybuilder-v2
quinchs Oct 28, 2022
5a8cbed
Update deploy-prerelease.yml
quinchs Oct 29, 2022
0829eb9
Update deploy-prerelease.yml
quinchs Oct 29, 2022
bdaa848
add sub shape depth
quinchs Oct 30, 2022
13c1f0a
add new select to static def
quinchs Oct 30, 2022
48d8878
Fix #8
quinchs Nov 2, 2022
033c473
make new context type for referencing self
quinchs Nov 2, 2022
89cae60
fix summaries
quinchs Nov 2, 2022
1775bc7
Merge branch 'dev' into feat/querybuilder-v2
quinchs Nov 8, 2022
7551bc3
Merge branch 'dev' into feat/querybuilder-v2
quinchs Nov 8, 2022
673fddb
Generate docs
github-actions[bot] Nov 8, 2022
db2376c
Merge branch 'dev' into feat/querybuilder-v2
quinchs Nov 14, 2022
d77fae5
Merge branch 'dev' into feat/querybuilder-v2
quinchs Nov 17, 2022
682a35b
Merge branch 'dev' into feat/querybuilder-v2
quinchs Nov 17, 2022
792aff7
Add support for custom converters in QB
quinchs Nov 17, 2022
64670cc
Add expression visitor
quinchs Dec 7, 2022
4f05896
Revert "Add expression visitor"
quinchs Dec 7, 2022
b2507f4
Merge branch 'dev' into feat/querybuilder-v2
quinchs Dec 27, 2022
5c9cb37
bump querybuilder to .net7
quinchs Dec 27, 2022
ae81067
add new shape builder. optimizer for with statements
quinchs Jan 4, 2023
efbffd3
Merge branch 'dev' into feat/querybuilder-v2
quinchs Jan 4, 2023
a549273
fix summary errors
quinchs Jan 4, 2023
d2afc77
add explicit shape definition
quinchs Feb 2, 2023
109e8bd
Merge branch 'dev' into feat/querybuilder-v2
quinchs Feb 3, 2023
74added
change pre-releases to myget
quinchs Feb 5, 2023
0cf44f5
Revert "change pre-releases to myget"
quinchs Feb 5, 2023
5359ee3
Merge branch 'dev' into feat/querybuilder-v2
quinchs May 22, 2023
7691d7b
LINQ ext
quinchs May 22, 2023
95485e1
fix merge issues
quinchs May 22, 2023
98f1e5e
Add select expressional with shape
quinchs May 22, 2023
0f9cb6c
add missing summary
quinchs May 22, 2023
df33f42
Add cardinality control to IMultiCardinalityExecutable
quinchs May 22, 2023
57288b0
Add contextual Update methods
quinchs May 22, 2023
6f5d4e3
add global contextual Update methods
quinchs May 22, 2023
943613d
Add contextual Update and With functions
quinchs May 23, 2023
15a2f22
add static update methods for QB
quinchs Jun 3, 2023
94279e5
clean up querybuilder code
quinchs Jun 28, 2023
d7a3453
Add basic expression tests
quinchs Jun 28, 2023
f1bd9d4
updated grammar
quinchs Jun 30, 2023
2a7d508
remove test code
quinchs Oct 10, 2023
2afcc52
Merge branch 'dev' into feat/querybuilder-v2
quinchs Oct 12, 2023
e7a469e
fix merge related stuff
quinchs Oct 31, 2023
5019c2d
start work on switching to stringbuilder
quinchs Nov 19, 2023
3dff00e
Merge branch 'dev' into feat/querybuilder-v2
quinchs Jan 11, 2024
0587f02
query string refactor
quinchs Jan 12, 2024
afcbcf6
Fix generator
quinchs Jan 13, 2024
6f64d6e
remove old impl of stdlib
quinchs Jan 13, 2024
2e5b5d4
fix tests and queryable project
quinchs Jan 13, 2024
5ca77ff
Continue work on rework
quinchs Jan 17, 2024
06b9167
root writer and labels
quinchs Jan 17, 2024
5090201
More questionable work on the query builder
quinchs Jan 19, 2024
6760edf
Merge branch 'dev' into feat/querybuilder-v2
quinchs Jan 25, 2024
23594db
more in-depth lexical labelling
quinchs Jan 25, 2024
fe33002
contextual shape exclusion
quinchs Jan 25, 2024
6792a25
woah! its more query builder work
quinchs Feb 20, 2024
ad2aae7
fix allocs and references
quinchs Feb 23, 2024
cf934d4
small bug fixes
quinchs Feb 24, 2024
0aa1c3f
partially fix list problems :cry:
quinchs Feb 26, 2024
878fbf4
make looselinkedlist safe
quinchs Mar 4, 2024
2451099
it actually works :O
quinchs Mar 9, 2024
975f2c6
Build -> Compile
quinchs Mar 9, 2024
8cc1ebb
debug views
quinchs Mar 9, 2024
e035d58
debug view flame-graph
quinchs Mar 9, 2024
ebaa4e4
don't look at verbose markers
quinchs Mar 9, 2024
49529e2
more changes to inner generation
quinchs Mar 9, 2024
4fcd9d5
refactor and fix FOR iterator
quinchs Mar 9, 2024
3ed6b58
compact debug view
quinchs Mar 10, 2024
165a03b
fix insert being dumb cuz of generics
quinchs Mar 10, 2024
c1eb806
groups!
quinchs Mar 11, 2024
2b25bb2
cast reduction, fix groups, smart markers, aggregation
quinchs Mar 13, 2024
c40352a
faster method translation lookup
quinchs Mar 29, 2024
cddba32
whoops x2
quinchs Mar 29, 2024
d33e5a1
new update builder
Apr 8, 2024
597206e
Merge branch 'dev' into feat/querybuilder-v2
Apr 8, 2024
c122421
Merge branch 'feat/querybuilder-v2' of https://github.com/edgedb/edge…
Apr 9, 2024
8c5ca54
benchmarking
Apr 13, 2024
fb435ed
updates?
Apr 16, 2024
2faa75e
fix summaries
Apr 16, 2024
912f81e
support enums :100:
Apr 17, 2024
e65d9bb
only write ',' when an element was written
Apr 17, 2024
b942a6b
don't require proxy to write something
Apr 17, 2024
2bc986f
make use of optional parameters
Apr 17, 2024
08258d2
Merge branch 'dev' into feat/querybuilder-v2
Apr 18, 2024
16c204c
Merge branch 'dev' into feat/querybuilder-v2
Apr 19, 2024
c728790
fix comma separation of globals
Apr 22, 2024
b34429c
don't rely on tryadd for scalar check
Apr 22, 2024
27ef99c
select of type
Apr 26, 2024
8bb87b7
add json resolve for memebrs
Apr 26, 2024
0df0c61
Add overloads for adding/removing sets for update
Apr 26, 2024
0ecd6ee
FOR iterator signature change
Apr 26, 2024
f249509
AsSetAggregation, fix group wrapping & keying
Apr 27, 2024
a84bc69
orderby doesn't box, fix unary cast exp
Apr 27, 2024
4a1aaaa
Delete is now a method, add generic overload
Apr 27, 2024
4663959
add AsSet to mirror the revers of AsSetAggregation
Apr 27, 2024
de28bc3
Handle optional function args better internally
Apr 27, 2024
3426f98
fix summaries
Apr 27, 2024
2df336e
fix context type of update
Apr 27, 2024
ccb6b1c
fix for type check
Apr 27, 2024
9268575
fix static member reference for variables
Apr 29, 2024
1fd32f2
some more enumerable translations
quinchs May 4, 2024
40a3919
some generics doohickery
May 5, 2024
017c701
Merge branch 'feat/querybuilder-v2' of https://github.com/edgedb/edge…
May 5, 2024
41e5be7
massive additions to query writer internals + reducers
May 14, 2024
d625ba7
reducers update
May 21, 2024
a75fd35
select shape reducer
May 27, 2024
9bd7e7f
fix marker move
May 27, 2024
df9bc0b
minor fixes
May 27, 2024
85ffe96
Marker -> Term, Value -> Token
May 27, 2024
847d213
code cleanup
May 27, 2024
560b997
more minor refactors
May 28, 2024
55d4c22
add EdgeQL global support
May 28, 2024
a162ec7
small refactors
Jun 5, 2024
c24d335
api consistency with context
Jun 5, 2024
e1a797a
update context usage
Jun 5, 2024
88b3329
update stdlib
Jun 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more in-depth lexical labelling
  • Loading branch information
quinchs committed Jan 25, 2024
commit 23594dbb86387acdc584c966ebc5b68337ee308d
4 changes: 0 additions & 4 deletions examples/EdgeDB.Examples.CSharp/Examples/QueryBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ public async Task ExecuteAsync(EdgeDBClient client)

private static async Task QueryBuilderDemo(EdgeDBClient client)
{
var test = QueryBuilder.SelectExpression(() => EdgeQL.Range<int>(5, 10, true, false, false));

var result = test.Build();

// Selecting a type with autogen shape
var query = QueryBuilder.Select<Person>().Build().Prettify();

Expand Down
8 changes: 4 additions & 4 deletions src/EdgeDB.Net.QueryBuilder/Grammar/Grammar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public Operator(ExpressionType[] expressionTypes, string name, int paramCount, M
_method = method;
}

public void Build(QueryStringWriter writer, params QueryStringWriter.Proxy[] args)
public void Build(QueryStringWriter writer, params WriterProxy[] args)
{
var arr = new object?[args.Length + 1];
arr[0] = writer;
Expand Down Expand Up @@ -62,11 +62,11 @@ static Grammar()
}
}

private static Operator? SearchForBestMatch(ExpressionType type, QueryStringWriter.Proxy[] args)
private static Operator? SearchForBestMatch(ExpressionType type, WriterProxy[] args)
=> _operators.FirstOrDefault(x => x.ExpressionTypes.Contains(type) && x.ParameterCount == args.Length);

public static bool TryBuildOperator(ExpressionType type, QueryStringWriter writer,
params QueryStringWriter.Proxy[] args)
params WriterProxy[] args)
{
var op = SearchForBestMatch(type, args);

Expand All @@ -81,7 +81,7 @@ public static bool TryBuildOperator(ExpressionType type, QueryStringWriter write
=> TryBuildOperator(
type,
writer,
args.Select(x => new QueryStringWriter.Proxy(writer => writer
args.Select(x => new WriterProxy(writer => writer
.Append(x)
)).ToArray()
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,40 +9,40 @@ namespace EdgeDB
internal partial class Grammar
{
[EdgeQLOp("std::DISTINCT")]
public static void Op_1807904139(QueryStringWriter writer, QueryStringWriter.Proxy sParam)
public static void Op_1633607166(QueryStringWriter writer, WriterProxy sParam)
{
writer.Append("DISTINCT").Append(sParam);
}
[EdgeQLOp("std::UNION")]
public static void Op_1104940874(QueryStringWriter writer, QueryStringWriter.Proxy s1Param, QueryStringWriter.Proxy s2Param)
public static void Op_999725343(QueryStringWriter writer, WriterProxy s1Param, WriterProxy s2Param)
{
writer.Append(s1Param).Wrapped("UNION", " ").Append(s2Param);
}
[EdgeQLOp("std::EXCEPT")]
public static void Op_1159339088(QueryStringWriter writer, QueryStringWriter.Proxy s1Param, QueryStringWriter.Proxy s2Param)
public static void Op_474586655(QueryStringWriter writer, WriterProxy s1Param, WriterProxy s2Param)
{
writer.Append(s1Param).Wrapped("EXCEPT", " ").Append(s2Param);
}
[EdgeQLOp("std::INTERSECT")]
public static void Op_313989350(QueryStringWriter writer, QueryStringWriter.Proxy s1Param, QueryStringWriter.Proxy s2Param)
public static void Op_1866682449(QueryStringWriter writer, WriterProxy s1Param, WriterProxy s2Param)
{
writer.Append(s1Param).Wrapped("INTERSECT", " ").Append(s2Param);
}
[EquivalentExpression(ExpressionType.Coalesce)]
[EdgeQLOp("std::??")]
public static void Op_844866030(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_240810131(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("??", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Conditional)]
[EdgeQLOp("std::IF")]
public static void Op_2099638795(QueryStringWriter writer, QueryStringWriter.Proxy if_trueParam, QueryStringWriter.Proxy conditionParam, QueryStringWriter.Proxy if_falseParam)
public static void Op_772749472(QueryStringWriter writer, WriterProxy if_trueParam, WriterProxy conditionParam, WriterProxy if_falseParam)
{
writer.Append(if_trueParam).Append(" IF ").Append(conditionParam).Append(" ELSE ").Append(if_falseParam);
}
[EquivalentExpression(ExpressionType.ArrayIndex)]
[EdgeQLOp("std::[]")]
public static void Op_1272589386(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_861836053(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped(rParam, "[]");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ namespace EdgeDB
internal partial class Grammar
{
[EdgeQLOp("std::++")]
public static void Op_1137805645(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_1229472478(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("++", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.ArrayIndex)]
[EdgeQLOp("std::[]")]
public static void Op_1831455023(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_1187471622(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped(rParam, "[]");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ internal partial class Grammar
{
[EquivalentExpression(ExpressionType.Subtract, ExpressionType.Negate)]
[EdgeQLOp("std::-")]
public static void Op_82295105(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_1099392975(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("-", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Add, ExpressionType.AddChecked)]
[EdgeQLOp("std::+")]
public static void Op_667626(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_1717530918(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("+", " ").Append(rParam);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ internal partial class Grammar
{
[EquivalentExpression(ExpressionType.Add, ExpressionType.AddChecked)]
[EdgeQLOp("std::+")]
public static void Op_66999224(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_327561740(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("+", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Subtract, ExpressionType.Negate)]
[EdgeQLOp("std::-")]
public static void Op_1924679920(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_955794403(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("-", " ").Append(rParam);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ internal partial class Grammar
{
[EquivalentExpression(ExpressionType.Add, ExpressionType.AddChecked)]
[EdgeQLOp("std::+")]
public static void Op_2122027181(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_561578624(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("+", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Subtract, ExpressionType.Negate)]
[EdgeQLOp("std::-")]
public static void Op_76086228(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_2132676355(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("-", " ").Append(rParam);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ internal partial class Grammar
{
[EquivalentExpression(ExpressionType.Add, ExpressionType.AddChecked)]
[EdgeQLOp("std::+")]
public static void Op_1286579746(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_1345962027(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("+", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Subtract, ExpressionType.Negate)]
[EdgeQLOp("std::-")]
public static void Op_686701897(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_635264521(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("-", " ").Append(rParam);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ internal partial class Grammar
{
[EquivalentExpression(ExpressionType.Subtract, ExpressionType.Negate)]
[EdgeQLOp("std::-")]
public static void Op_1845835213(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_1504665417(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("-", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Add, ExpressionType.AddChecked)]
[EdgeQLOp("std::+")]
public static void Op_1659323368(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_1609073880(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("+", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Subtract, ExpressionType.Negate)]
[EdgeQLOp("std::-")]
public static void Op_90117864(QueryStringWriter writer, QueryStringWriter.Proxy vParam)
public static void Op_2131327805(QueryStringWriter writer, WriterProxy vParam)
{
writer.Append("-").Append(vParam);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ internal partial class Grammar
{
[EquivalentExpression(ExpressionType.Add, ExpressionType.AddChecked)]
[EdgeQLOp("std::+")]
public static void Op_781062263(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_632890321(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("+", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Subtract, ExpressionType.Negate)]
[EdgeQLOp("std::-")]
public static void Op_962675901(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_1071812987(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("-", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Multiply)]
[EdgeQLOp("std::*")]
public static void Op_808906502(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_791892788(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("*", " ").Append(rParam);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ internal partial class Grammar
{
[EquivalentExpression(ExpressionType.Add, ExpressionType.AddChecked)]
[EdgeQLOp("std::+")]
public static void Op_272862904(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_1950052772(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("+", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Subtract, ExpressionType.Negate)]
[EdgeQLOp("std::-")]
public static void Op_538016052(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_1608871926(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("-", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Multiply)]
[EdgeQLOp("std::*")]
public static void Op_1210769258(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_570123961(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("*", " ").Append(rParam);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,37 +10,37 @@ internal partial class Grammar
{
[EquivalentExpression(ExpressionType.Add, ExpressionType.AddChecked)]
[EdgeQLOp("std::+")]
public static void Op_1431279147(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_1159303302(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("+", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Add, ExpressionType.AddChecked)]
[EdgeQLOp("std::+")]
public static void Op_387153592(QueryStringWriter writer, QueryStringWriter.Proxy lParam)
public static void Op_314897733(QueryStringWriter writer, WriterProxy lParam)
{
writer.Append("+").Append(lParam);
}
[EquivalentExpression(ExpressionType.Subtract, ExpressionType.Negate)]
[EdgeQLOp("std::-")]
public static void Op_1132258927(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_89428629(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("-", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Subtract, ExpressionType.Negate)]
[EdgeQLOp("std::-")]
public static void Op_78207089(QueryStringWriter writer, QueryStringWriter.Proxy lParam)
public static void Op_823298531(QueryStringWriter writer, WriterProxy lParam)
{
writer.Append("-").Append(lParam);
}
[EquivalentExpression(ExpressionType.Multiply)]
[EdgeQLOp("std::*")]
public static void Op_2106829999(QueryStringWriter writer, QueryStringWriter.Proxy lParam, QueryStringWriter.Proxy rParam)
public static void Op_1165137993(QueryStringWriter writer, WriterProxy lParam, WriterProxy rParam)
{
writer.Append(lParam).Wrapped("*", " ").Append(rParam);
}
[EquivalentExpression(ExpressionType.Modulo)]
[EdgeQLOp("std::%")]
public static void Op_1558712639(QueryStringWriter writer, QueryStringWriter.Proxy nParam, QueryStringWriter.Proxy dParam)
public static void Op_1358603801(QueryStringWriter writer, WriterProxy nParam, WriterProxy dParam)
{
writer.Append(nParam).Wrapped("%", " ").Append(dParam);
}
Expand Down
Loading
Loading