internal override ObjWastTranspilerContext GetContext(string statement, ObjWastTranspiler transpiler) { string instructionName = statement; if (transpiler.PeekSignificant() == '.') { instructionName += transpiler.Read(); instructionName += transpiler.ParseName(); } return(Create(() => new ObjWastInstructionContext(this, instructionName))); }
internal override void Parse(ObjWastTranspiler transpiler) { string instructionName = transpiler.ParseName(); if (transpiler.PeekSignificant() == '.') { instructionName += transpiler.Read(); instructionName += transpiler.ParseName(); } var context = Create(() => new ObjWastInstructionContext(this, instructionName)); context.Parse(transpiler); }