Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FParse
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/Parse.h |
| Include | #include "Misc/Parse.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/Parse.cpp |
static FGrammarBasedParseResult GrammarBasedCLIParse
(
const TCHAR * Stream,
TFunctionRef < void, FStringView )> OnCommandCallback,
EGrammarBasedParseFlags Flags
)
Remarks
Grammar Line -> Cmd* Cmd -> "Cmd*" allowed if EGrammaredParseFlags::AllowQuotedCommands is given | Key(=Value)? invokes OnCommandCallback Key -> (/|(-?-?))Ident Value -> "[^"]*"
| [^" \t\r]+ Ident -> [_a-zA-Z][_a-zA-Z0-9.]*
Grammar Key Expressions
Operators
- = 0 or more of a expression
- = 1 or more of a expression ? = 0 or 1 of an expression (IE, its optional) [] = set of characters () = treat enclosed expressions as 1 for purpose of other operators