internal override List <GremlinVariable> FetchAllTableVars() { List <GremlinVariable> variableList = new List <GremlinVariable>() { this }; if (FromVertexContext != null) { variableList.AddRange(FromVertexContext.FetchAllTableVars()); } if (ToVertexContext != null) { variableList.AddRange(ToVertexContext.FetchAllTableVars()); } return(variableList); }
internal override List <GremlinVariable> FetchVarsFromCurrAndChildContext() { List <GremlinVariable> variableList = new List <GremlinVariable>(); variableList.AddRange(FromVertexContext == null ? new List <GremlinVariable>() : FromVertexContext.FetchVarsFromCurrAndChildContext()); variableList.AddRange(ToVertexContext == null ? new List <GremlinVariable>() : ToVertexContext.FetchVarsFromCurrAndChildContext()); return(variableList); }