public v(string name, openo parent) : base(null) { this.parent = parent; this.variable = The.Variable(name, this.parent.Type()); this.value = The.Value((System.Reflection.FieldInfo) this.variable, this.parent.value); }
public f(string name, openo parent) : base( The.Method( name, parent.Type() )) { this.parent = parent; }
public virtual openo Get(object request) { openo result = null; if (request is string) { var strRequest = (string)request; result = this.TryGetVar(strRequest); if (result != null) { return(result); } result = this.TryGetFunction(strRequest); if (result != null) { return(result); } int intRequest; if (int.TryParse(strRequest, out intRequest)) { result = this.TryGetIndex(intRequest); if (result != null) { return(result); } } } else if (request is int) { result = this.TryGetIndex((int)request); if (result != null) { return(result); } } return(null); }
public v(object variable, openo parent) : base(The.Value((System.Reflection.FieldInfo)variable, parent.value)) { this.parent = parent; this.variable = variable; }
public f(string name, object function, openo parent) : base(function) { this.parent = parent; }
public virtual openo Get(openo request) { return(Get(request.value)); }
/// <summary> /// reveal! (with this.Get) /// </summary> public static openo O(openo request) { return(new openo(request)); }