C# Class clojure.lang.LispReader

Implements the Lisp reader, a marvel to behold.
Exibir arquivo Open project: clojure/clojure-clr Class Usage Examples

Public Methods

Method Description
HasFeature ( Object feature, Object opts ) : bool
InterpretToken ( string token ) : object
InterpretToken ( string rawToken, string token, string mask ) : object
MatchNumber ( string s ) : object
NameRequiresEscaping ( string s ) : bool
VbarEscape ( string s ) : string

Private Methods

Method Description
CharValueInRadix ( int c, int radix ) : int
EnsurePending ( object pendingForms ) : Object
ExtractNamesUsingMask ( string token, string maskNS, string maskName, string &ns, string &name ) : void
InstallPlatformFeature ( Object opts ) : Object
IsPreserveReadCond ( Object opts ) : bool
LispReader ( ) : System
ReadAux ( PushbackTextReader r, object opts, object pendingForms ) : object
ReadDelimitedList ( char delim, PushbackTextReader r, bool isRecursive, object opts, object pendingForms ) : List
Unread ( PushbackTextReader r, int ch ) : void
checkConditionalAllowed ( Object opts ) : void
garg ( int n ) : Symbol
getMacro ( int ch ) : IFn
isMacro ( int ch ) : bool
isTerminatingMacro ( int ch ) : bool
isUnquote ( object form ) : bool
isUnquoteSplicing ( object form ) : bool
isWhitespace ( int ch ) : bool
matchSymbol ( string token, string mask ) : object
read ( PushbackTextReader r, Object opts ) : Object
read ( PushbackTextReader r, bool eofIsError, Object eofValue, bool isRecursive, Object opts, Object pendingForms ) : Object
read ( PushbackTextReader r, bool eofIsError, object eofValue, bool isRecursive, object opts ) : Object
read ( PushbackTextReader r, bool eofIsError, object eofValue, char returnOn, object returnOnValue, bool isRecursive, object opts, object pendingForms ) : Object
read ( PushbackTextReader r, bool eofIsError, object eofValue, bool isRecursive ) : object
readCondDelimited ( PushbackTextReader r, bool splicing, object opts, object pendingForms ) : Object
readNumber ( PushbackTextReader r, char initch ) : object
readSimpleToken ( PushbackTextReader r, char initch ) : string
readToken ( PushbackTextReader r, char initch, String &rawToken, String &token, String &mask, bool &eofSeen ) : void
readUnicodeChar ( PushbackTextReader r, int initch, int radix, int length, bool exact ) : int
readUnicodeChar ( string token, int offset, int length, int radix ) : int

Method Details

HasFeature() public static method

public static HasFeature ( Object feature, Object opts ) : bool
feature Object
opts Object
return bool

InterpretToken() public static method

public static InterpretToken ( string token ) : object
token string
return object

InterpretToken() public static method

public static InterpretToken ( string rawToken, string token, string mask ) : object
rawToken string
token string
mask string
return object

MatchNumber() public static method

public static MatchNumber ( string s ) : object
s string
return object

NameRequiresEscaping() public static method

public static NameRequiresEscaping ( string s ) : bool
s string
return bool

VbarEscape() public static method

public static VbarEscape ( string s ) : string
s string
return string