Added logic to tooltips
This commit is contained in:
43
Frontend/src/assets/tooltips/xpath/xpath2.json
Normal file
43
Frontend/src/assets/tooltips/xpath/xpath2.json
Normal file
@@ -0,0 +1,43 @@
|
||||
[
|
||||
{
|
||||
"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