MCPcopy Create free account
hub / github.com/Koihik/LuaFormatter / firstLineColumn

Method firstLineColumn

src/SourceWriter.h:43–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 std::stringstream& ss() { return ss_; }
42 const std::vector<int>& columns() { return columns_; }
43 int firstLineColumn() { return columns_.front() - initialColumn_; }
44 int lines() const { return lines_; }
45 void set_volatile(bool v) { volatile_ = v; }
46 bool isLastCharWhiteSpace() const { return ' ' == lastChar_; }

Callers 9

calcASTLengthAndLinesMethod · 0.80
visitNamelistMethod · 0.80
visitAttnamelistMethod · 0.80
visitExplistMethod · 0.80
visitExpMethod · 0.80
visitFuncbodyMethod · 0.80
visitTableconstructorMethod · 0.80
visitFieldlistMethod · 0.80
needKeepBlockOneLineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected