General nodes
ExpandIdentifierNodes are representing an Identifier each
$expand=Name,namespace.name,@Measures.currency
=> Would create an ExpandIdentifierNode inside an ExpandPathNode for Name and namespace.name and a ExpandIdentifierNode with the flag set for @Measures.currency
=> Flag will be set if the identifier is a annotation (@)
ExpandNodes are representing a $expand
$expand=...
=> Would create an ExpandNode
ExpandOptions are representing ExpandOptions
$expand=Name($top=4)
=> Would create an ExpandIdentifierNode inside a ExpandPathNodeWithOptions for Name
for internal processing
ExpandPathNodes are representing one expandItem (seperated by comma) each
$expand=Name,Adress/Street
=> Would create two ExpandPathNodes
ExpandPathNodeWithOptions are representing one expandItem (seperated by comma) each, that have options
$expand=Name,Adress/Street($top=5)
=> Would create an ExpandPathNode for Name and an ExpandPathNodeWithOptions for Adress/Street($top=5)
ExpandStarNodes are representing Wildcards
$expand=*,*\/$ref,*($levels=2)
=> Would create an ExpandStarNode inside an ExpandPathNode for each of the three expressions
ExpandValueNodes are representing $value
$expand=$value
=> Would create an ExpandValueNode inside an ExpandPathNode
Filter parser node
Search parser nodes
SelectFunctionNodes are representing a function
$select=MostPopularName(Location,Kind)
=> Would create a SelectFunctionNode inside a SelectPathNode
SelectIdentifierNodes are representing an Identifier each
$select=Name,namespace.name,@Measures.currency
=> Would create a SelectIdentifierNode inside a SelectPathNode for Name and namespace.name and a SelectIdentifierNode with the flag set for @Measures.currency
=> Flag will be set if the identifier is a annotation (@)
SelectNodes are representing a $select
$select=...
=> Would create a SelectNode
SelectOptionsNodes are representing SelectOptions
$select=Name($top=4)
=> Would create a SelectIdentifierNode inside a SelectPathNodeWithOptions for Name
for internal processing
SelectPathNodes are representing one selectItem (seperated by comma) each
$select=Name,Adress/Street
=> Would create two SelectPathNodes
SelectPathNodeWithOptions are representing one selectItem (seperated by comma) each, that have options
$select=Name,Adress/Street($top=5)
=> Would create a SelectPathNode for Name and a SelectPathNodeWithOptions for Adress/Street($top=5)
Parser for compute expressions
compute expression as string
Abstract Syntax Tree (AST) of type ComputeNode
Parser for expand expressions
expand expression as string
Abstract Syntax Tree (AST) of type ExpandNode
Parser for filter expressions
filter expression as string
options for peggy.js parser
Abstract Syntax Tree (AST) of type FilterNode
Parser for orderby expression
orderby expression as string
AbstractSyntaxTree (AST) of type OrderbyNode
Parser for search expressions
search expression as string
Abstract Syntax Tree (AST) of type SearchNode
Parser for select expressions
select expression as string
Abstract Syntax Tree (AST) of type SelectNode
Parser for skip expressions
skip expression as string
integer number for skip
Parser for top expression
top expression as string
integer for top
parse oData parameter expressions from url
oData url as string, from req.url
parsed oData parameters
Generated using TypeDoc
Compute Parser Nodes