C# Class Boo.Lang.Parser.PrimitiveParser

Datei anzeigen Open project: boo/boo-lang

Public Methods

Method Description
ParseDouble ( string s ) : double
ParseDouble ( string s, bool isSingle ) : double
ParseInt ( antlr token ) : int
ParseIntegerLiteralExpression ( antlr token, string s, bool asLong ) : IntegerLiteralExpression
ParseTimeSpan ( string text ) : System.TimeSpan

Method Details

ParseDouble() public static method

public static ParseDouble ( string s ) : double
s string
return double

ParseDouble() public static method

public static ParseDouble ( string s, bool isSingle ) : double
s string
isSingle bool
return double

ParseInt() public static method

public static ParseInt ( antlr token ) : int
token antlr
return int

ParseIntegerLiteralExpression() public static method

public static ParseIntegerLiteralExpression ( antlr token, string s, bool asLong ) : IntegerLiteralExpression
token antlr
s string
asLong bool
return Boo.Lang.Compiler.Ast.IntegerLiteralExpression

ParseTimeSpan() public static method

public static ParseTimeSpan ( string text ) : System.TimeSpan
text string
return System.TimeSpan