MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / Undo

Method Undo

LuaParser/src/Parse/Mark.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void Marker::Undo(LuaParser &p) {
29 auto &events = p.GetEvents();
30 if (Pos < events.size()) {
31 events[Pos].U.Start.Kind = LuaSyntaxNodeKind::None;
32 }
33}
34
35CompleteMarker::CompleteMarker()
36 : Start(0),

Callers 4

TryGlobalStatementMethod · 0.80
SuffixedExpressionMethod · 0.80
LocalAttributeMethod · 0.80
PrimaryExpressionMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected