internal static PexObjectNamedFunction Create(PexParseMeta parse) { var ret = new PexObjectNamedFunction(); ret.FunctionName = parse.ReadString(); ret.Function = PexObjectFunction.Create(parse); return(ret); }
internal static PexObjectState Create(PexParseMeta parse) { var ret = new PexObjectState(); ret.Name = parse.ReadString(); var functions = parse.Reader.ReadUInt16(); for (var i = 0; i < functions; i++) { var namedFunction = PexObjectNamedFunction.Create(parse); ret.Functions.Add(namedFunction); } return(ret); }