MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / File_Position

Class File_Position

include/chaiscript/language/chaiscript_common.hpp:91–99  ·  view source on GitHub ↗

\brief Convenience type for file positions

Source from the content-addressed store, hash-verified

89
90 /// \brief Convenience type for file positions
91 struct File_Position {
92 int line;
93 int column;
94
95 File_Position(int t_file_line, int t_file_column)
96 : line(t_file_line), column(t_file_column) { }
97
98 File_Position() : line(0), column(0) { }
99 };
100
101 struct Parse_Location {
102 Parse_Location(std::string t_fname="", const int t_start_line=0, const int t_start_col=0,

Callers 15

Depth_CounterMethod · 0.85
validate_object_nameMethod · 0.85
SkipWSMethod · 0.85
Id_Method · 0.85
Quoted_String_Method · 0.85
parseMethod · 0.85
Quoted_StringMethod · 0.85
Single_Quoted_String_Method · 0.85
Single_Quoted_StringMethod · 0.85
Id_Arg_ListMethod · 0.85
Decl_Arg_ListMethod · 0.85
Arg_ListMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected