Commit 69419066 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Add generated doc

parent 479db7f2
Pipeline #117363 passed with stages
in 8 minutes
...@@ -576,35 +576,65 @@ std::string graph_cpp_charSetDecl(const PTabGraphToken & tabGraphToken){ ...@@ -576,35 +576,65 @@ std::string graph_cpp_charSetDecl(const PTabGraphToken & tabGraphToken){
body += "\n"; body += "\n";
body += "\t\t//Default charSet of the parser\n"; body += "\t\t//Default charSet of the parser\n";
body += "\n"; body += "\n";
body += "\t\t///Charset of numbers\n";
body += "\t\tstd::string csNumber;\n"; body += "\t\tstd::string csNumber;\n";
body += "\t\t///Charset of unsigned integers\n";
body += "\t\tstd::string csUnsignedNumber;\n"; body += "\t\tstd::string csUnsignedNumber;\n";
body += "\t\t///Charset of long unsigned integers\n";
body += "\t\tstd::string csLongUnsignedNumber;\n"; body += "\t\tstd::string csLongUnsignedNumber;\n";
body += "\t\t///Charset of float\n";
body += "\t\tstd::string csFloat;\n"; body += "\t\tstd::string csFloat;\n";
body += "\t\t///Charset of double\n";
body += "\t\tstd::string csDouble;\n"; body += "\t\tstd::string csDouble;\n";
body += "\t\t///Charset of Upper case\n";
body += "\t\tstd::string csUpperCase;\n"; body += "\t\tstd::string csUpperCase;\n";
body += "\t\t///Charset of lower case\n";
body += "\t\tstd::string csLowerCase;\n"; body += "\t\tstd::string csLowerCase;\n";
body += "\t\t///Charset of letter\n";
body += "\t\tstd::string csLetter;\n"; body += "\t\tstd::string csLetter;\n";
body += "\t\t///Charset of unserscore\n";
body += "\t\tstd::string csUnderscore;\n"; body += "\t\tstd::string csUnderscore;\n";
body += "\t\t///Charset of operatir\n";
body += "\t\tstd::string csOperator;\n"; body += "\t\tstd::string csOperator;\n";
body += "\t\t///Charset of brace\n";
body += "\t\tstd::string csBrace;\n"; body += "\t\tstd::string csBrace;\n";
body += "\t\t///Charset of hook\n";
body += "\t\tstd::string csHook;\n"; body += "\t\tstd::string csHook;\n";
body += "\t\t///Charset of parenthesis\n";
body += "\t\tstd::string csParenthesis;\n"; body += "\t\tstd::string csParenthesis;\n";
body += "\t\t///Charset of comme\n";
body += "\t\tstd::string csComma;\n"; body += "\t\tstd::string csComma;\n";
body += "\t\t///Charset of semicolumn\n";
body += "\t\tstd::string csDotComma;\n"; body += "\t\tstd::string csDotComma;\n";
body += "\t\t///Charset of dot\n";
body += "\t\tstd::string csDot;\n"; body += "\t\tstd::string csDot;\n";
body += "\t\t///Charset of question mark\n";
body += "\t\tstd::string csQuestionMark;\n"; body += "\t\tstd::string csQuestionMark;\n";
body += "\t\t///Charset of colum\n";
body += "\t\tstd::string csDoubleDot;\n"; body += "\t\tstd::string csDoubleDot;\n";
body += "\t\t///Charset of exclamation mark\n";
body += "\t\tstd::string csExclamation;\n"; body += "\t\tstd::string csExclamation;\n";
body += "\t\t///Charset of punctuation\n";
body += "\t\tstd::string csPunctuation;\n"; body += "\t\tstd::string csPunctuation;\n";
body += "\t\t///Charset of chevron\n";
body += "\t\tstd::string csChevron;\n"; body += "\t\tstd::string csChevron;\n";
body += "\t\t///Charset of quote\n";
body += "\t\tstd::string csQuote;\n"; body += "\t\tstd::string csQuote;\n";
body += "\t\t///Charset of double quote\n";
body += "\t\tstd::string csDoubleQuote;\n"; body += "\t\tstd::string csDoubleQuote;\n";
body += "\t\t///Charset of base string\n";
body += "\t\tstd::string csBaseString;\n"; body += "\t\tstd::string csBaseString;\n";
body += "\t\t///Charset of string\n";
body += "\t\tstd::string csString;\n"; body += "\t\tstd::string csString;\n";
body += "\t\t///Charset of string quote\n";
body += "\t\tstd::string csStringQuote;\n"; body += "\t\tstd::string csStringQuote;\n";
body += "\t\t///Charset of back quote\n";
body += "\t\tstd::string csBackQuote;\n"; body += "\t\tstd::string csBackQuote;\n";
body += "\t\t///Charset of type\n";
body += "\t\tstd::string csType;\n"; body += "\t\tstd::string csType;\n";
body += "\t\t///Charset of function name\n";
body += "\t\tstd::string csFunctionName;\n"; body += "\t\tstd::string csFunctionName;\n";
body += "\t\t///Charset of variable name\n";
body += "\t\tstd::string csVariableName;\n"; body += "\t\tstd::string csVariableName;\n";
body += "\n"; body += "\n";
const PVecCharSet & vecCharSet = tabGraphToken.getVecCharSet(); const PVecCharSet & vecCharSet = tabGraphToken.getVecCharSet();
......
...@@ -392,7 +392,7 @@ std::string repr_cpp_tokenFunctionSourceDoCommandCallGraph(const PTabGraphToken ...@@ -392,7 +392,7 @@ std::string repr_cpp_tokenFunctionSourceDoCommandCallGraph(const PTabGraphToken
// std::string parameterCall(getVectorParameterCall(vecPar)); // std::string parameterCall(getVectorParameterCall(vecPar));
std::string parameterCall(getTokenGetterCall(graph.getVarType(), vecPar.back(), vecPar.front())); std::string parameterCall(getTokenGetterCall(graph.getVarType(), vecPar.back(), vecPar.front()));
body += "\tif(!"+firstTokenFunction+"(" + parameterCall+")){\t//The call graph don't have undo function\n"; body += "\tif(!"+firstTokenFunction+"(" + parameterCall+")){\t//The call graph doesn't have undo function\n";
// body += "\t\t"+firstTokenFunction+"Undo("+parameterCall+");\n"; // body += "\t\t"+firstTokenFunction+"Undo("+parameterCall+");\n";
body += "\t\treturn false;\n"; body += "\t\treturn false;\n";
body += "\t}else{\n"; body += "\t}else{\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment