# Functions
No description provided by the author
Between returns the string Between two given strings, or the original string firstA specifies if the first or last instance of a should be used firstB specifies if the first or last instance of b should be used.
No description provided by the author
No description provided by the author
CPPTypes picks out the types given a list of C++ arguments with name and type.
No description provided by the author
No description provided by the author
No description provided by the author
FunctionArguments transforms the arguments given to a function.
FunctionRetvals transforms the return values from a function.
No description provided by the author
greedyBetween searches from the left for a then searches as far as possible for b, before returning the string that is Between a and b.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
leftBetween searches from the left and returns the first string that is Between a and b.
like leftBetween, but use the rightmost instance of b.
Will return the transformed string, and a bool if pretty printing may be needed.
Split arguments.
No description provided by the author
No description provided by the author
No description provided by the author
pick out the number at the end of a string, or 0 if there is none.
TypeDeclaration returns a transformed string (from Go to C++), and a bool if a struct is opened (with {).
Return transformed line and the variable names.
# Structs
Name and type is used to keep a variable name and a variable type.