C# 클래스 Irony.Compiler.NumberLiteral

상속: CompoundTerminalBase
파일 보기 프로젝트 열기: Zepheus/Fiesta_Utils 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DecimalSeparator char
DefaultFloatType TypeCode
DefaultIntTypes TypeCode[]
ExponentSymbols string
QuickParseTerminators string

공개 메소드들

메소드 설명
DivRem ( int a, int b, int &result ) : int
GetFirsts ( ) : IList
Init ( Grammar grammar ) : void
NumberLiteral ( string name ) : System
NumberLiteral ( string name, TermOptions options ) : System
NumberLiteral ( string name, string displayName ) : System

보호된 메소드들

메소드 설명
ConvertValue ( ScanDetails details ) : bool
QuickParse ( Irony.Compiler.CompilerContext context, ISourceStream source ) : Token
ReadBody ( ISourceStream source, ScanDetails details ) : bool
ReadPrefix ( ISourceStream source, ScanDetails details ) : void
ReadSuffix ( ISourceStream source, ScanDetails details ) : void

비공개 메소드들

메소드 설명
ConvertToBigInteger ( ScanDetails details ) : bool
ConvertToFloat ( TypeCode typeCode, ScanDetails details ) : bool
GetDigits ( ScanDetails details ) : string
GetRadix ( ScanDetails details ) : int
GetSafeWordLength ( ScanDetails details ) : int
GetSafeWordRadix ( ScanDetails details ) : ulong
GetSectionCount ( int stringLength, int safeWordLength ) : int
IsIntegerCode ( TypeCode code ) : bool
QuickConvertToDouble ( ScanDetails details ) : bool
QuickConvertToInt32 ( ScanDetails details ) : bool
TryCastToIntegerType ( TypeCode typeCode, ScanDetails details ) : bool
TryConvertToUlong ( ScanDetails details ) : bool

메소드 상세

ConvertValue() 보호된 메소드

protected ConvertValue ( ScanDetails details ) : bool
details ScanDetails
리턴 bool

DivRem() 공개 정적인 메소드

public static DivRem ( int a, int b, int &result ) : int
a int
b int
result int
리턴 int

GetFirsts() 공개 메소드

public GetFirsts ( ) : IList
리턴 IList

Init() 공개 메소드

public Init ( Grammar grammar ) : void
grammar Grammar
리턴 void

NumberLiteral() 공개 메소드

public NumberLiteral ( string name ) : System
name string
리턴 System

NumberLiteral() 공개 메소드

public NumberLiteral ( string name, TermOptions options ) : System
name string
options TermOptions
리턴 System

NumberLiteral() 공개 메소드

public NumberLiteral ( string name, string displayName ) : System
name string
displayName string
리턴 System

QuickParse() 보호된 메소드

protected QuickParse ( Irony.Compiler.CompilerContext context, ISourceStream source ) : Token
context Irony.Compiler.CompilerContext
source ISourceStream
리턴 Token

ReadBody() 보호된 메소드

protected ReadBody ( ISourceStream source, ScanDetails details ) : bool
source ISourceStream
details ScanDetails
리턴 bool

ReadPrefix() 보호된 메소드

protected ReadPrefix ( ISourceStream source, ScanDetails details ) : void
source ISourceStream
details ScanDetails
리턴 void

ReadSuffix() 보호된 메소드

protected ReadSuffix ( ISourceStream source, ScanDetails details ) : void
source ISourceStream
details ScanDetails
리턴 void

프로퍼티 상세

DecimalSeparator 공개적으로 프로퍼티

public char DecimalSeparator
리턴 char

DefaultFloatType 공개적으로 프로퍼티

public TypeCode DefaultFloatType
리턴 TypeCode

DefaultIntTypes 공개적으로 프로퍼티

public TypeCode[] DefaultIntTypes
리턴 TypeCode[]

ExponentSymbols 공개적으로 프로퍼티

public string ExponentSymbols
리턴 string

QuickParseTerminators 공개적으로 프로퍼티

public string QuickParseTerminators
리턴 string