Skip to content

Instantly share code, notes, and snippets.

View rivaros's full-sized avatar

Ross I rivaros

View GitHub Profile
[
{
"id": 1,
"operators": [
"=",
">",
"<",
"contains"
]
},
[
{
"id": 1,
"type": "datetime"
},
{
"id":2,
"type": "input"
},
{
@rivaros
rivaros / callstack.json
Created August 3, 2015 14:30
CallStack Tree
"callstack": {
"id": 1,
"name": "context",
"subcalls": [
{
"name": "getTaskEvent",
"id": 2,
"subcalls": [
{
"name": "getSurvey",
@rivaros
rivaros / operands.json
Last active August 29, 2015 14:26
Operands Tree
[
{
"name": "Question from Survey 1",
"id": "10123",
"operands": [
{
"name": "Question 1.1 ? ",
"id": "12333",
"operators": 1,
"scalar": 2
@rivaros
rivaros / model.json
Created August 3, 2015 14:24
Model Tree
{
"type": "operator",
"name": "or",
"children": [
{
"type": "operator",
"name": "and",
"children": [
{
"type": "operator",
===== EXAMPLE 1 =========
["Question from Survey2"]["Question 2-1 ?"]
will be translated as:
context.getTaskEvent(10124).getSurvey().getQuestion(22333).getValue()