map Source
Converts the given ArgumentCommandNode with source type S to an ArgumentCommandNode with source type R.
Converts the given LiteralCommandNode with source type S to an LiteralCommandNode with source type R.
Converts the given RootCommandNode with source type S to an RootCommandNode with source type R.
Converts the given CommandNode with source type S to an CommandNode with source type R.
Only works for the standard node types: