Added logic to tooltips
This commit is contained in:
72
Frontend/src/assets/tooltips/xpath/xpath1.json
Normal file
72
Frontend/src/assets/tooltips/xpath/xpath1.json
Normal file
@@ -0,0 +1,72 @@
|
||||
[
|
||||
{
|
||||
"name": "Node-Set",
|
||||
"entries": [
|
||||
{
|
||||
"name": "last",
|
||||
"description": "The last function returns a number equal to the context size from the expression evaluation context.",
|
||||
"arguments": [],
|
||||
"output": "number",
|
||||
"examples": [
|
||||
{
|
||||
"command": "last()",
|
||||
"output": "blablabla"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "position",
|
||||
"description": "The position function returns a number equal to the context position from the expression evaluation context.",
|
||||
"arguments": [],
|
||||
"output": "number",
|
||||
"examples": [
|
||||
{
|
||||
"command": "position()",
|
||||
"output": "blablabla"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Number",
|
||||
"entries": [
|
||||
{
|
||||
"name": "sum",
|
||||
"description": "The sum function returns the sum, for each node in the argument node-set, of the result of converting the string-values of the node to a number.",
|
||||
"arguments": [
|
||||
{
|
||||
"name": "$arg",
|
||||
"type": "node-set",
|
||||
"description": "Data to sum"
|
||||
}
|
||||
],
|
||||
"output": "number",
|
||||
"examples": [
|
||||
{
|
||||
"command": "sum()",
|
||||
"output": "blablabla"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "floor",
|
||||
"description": "The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.",
|
||||
"arguments": [
|
||||
{
|
||||
"name": "$arg",
|
||||
"type": "number",
|
||||
"description": "Data to round"
|
||||
}
|
||||
],
|
||||
"output": "number",
|
||||
"examples": [
|
||||
{
|
||||
"command": "floor(3.6)",
|
||||
"output": "3"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user