Skip to content

M_CommandLine_Parser_Tokenize

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

Parser.Tokenize Method

Namespace: CommandLine
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

private static Result<IEnumerable<Token>, Error> Tokenize(
	IEnumerable<string> arguments,
	IEnumerable<OptionSpecification> optionSpecs,
	ParserSettings settings
)

VB

Private Shared Function Tokenize ( 
	arguments As IEnumerable(Of String),
	optionSpecs As IEnumerable(Of OptionSpecification),
	settings As ParserSettings
) As Result(Of IEnumerable(Of Token), Error)

C++

private:
static Result<IEnumerable<Token^>^, Error^>^ Tokenize(
	IEnumerable<String^>^ arguments, 
	IEnumerable<OptionSpecification^>^ optionSpecs, 
	ParserSettings^ settings
)

F#

private static member Tokenize : 
        arguments : IEnumerable<string> * 
        optionSpecs : IEnumerable<OptionSpecification> * 
        settings : ParserSettings -> Result<IEnumerable<Token>, Error> 

Parameters

 

arguments
Type: System.Collections.Generic.IEnumerable(String)
optionSpecs
Type: System.Collections.Generic.IEnumerable(OptionSpecification)
settings
Type: CommandLine.ParserSettings

Return Value

Type: Result(IEnumerable(Token), Error)

See Also

Reference

Parser Class
CommandLine Namespace

Clone this wiki locally