C# Class IronRuby.StandardLibrary.Yaml.RubyConstructor

Inheritance: IronRuby.StandardLibrary.Yaml.Constructor
Show file Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
AddConstructor ( string tag, RubyYamlConstructor ctor ) : void
AddExternalConstructor ( string tag, BlockParam block ) : void
AddExternalMultiConstructor ( string regex, BlockParam block ) : void
AddMultiConstructor ( string tagPrefix, RubyYamlMultiConstructor ctor ) : void
GetYamlConstructor ( string key ) : YamlConstructor
GetYamlMultiConstructor ( string key ) : YamlMultiConstructor
GetYamlMultiRegexp ( string key ) : Regex
GetYamlMultiRegexps ( ) : ICollection
RubyConstructor ( RubyGlobalScope scope, NodeProvider nodeProvider ) : System

Private Methods

Method Description
ConstructPrivateObject ( RubyConstructor ctor, string className, Node node ) : object
ConstructRubyBinary ( RubyConstructor ctor, Node node ) : MutableString
ConstructRubyDate ( RubyConstructor ctor, Node node ) : object
ConstructRubyRange ( RubyConstructor ctor, Node node ) : Range
ConstructRubyRegexp ( RubyConstructor ctor, Node node ) : RubyRegex
ConstructRubyString ( RubyConstructor ctor, Node node ) : object

Returns MutableString or RubySymbol.

ConstructRubyStruct ( RubyConstructor ctor, string structName, Node node ) : object
ConstructRubySymbol ( RubyConstructor ctor, Node node ) : object
EnumerateAttributes ( RubyContext context, Hash mapping ) : object>>.IEnumerable
ParseObject ( RubyConstructor ctor, string value ) : object
RubyConstructor ( ) : System

Method Details

AddConstructor() public static method

public static AddConstructor ( string tag, RubyYamlConstructor ctor ) : void
tag string
ctor RubyYamlConstructor
return void

AddExternalConstructor() public static method

public static AddExternalConstructor ( string tag, BlockParam block ) : void
tag string
block IronRuby.Runtime.BlockParam
return void

AddExternalMultiConstructor() public static method

public static AddExternalMultiConstructor ( string regex, BlockParam block ) : void
regex string
block IronRuby.Runtime.BlockParam
return void

AddMultiConstructor() public static method

public static AddMultiConstructor ( string tagPrefix, RubyYamlMultiConstructor ctor ) : void
tagPrefix string
ctor RubyYamlMultiConstructor
return void

GetYamlConstructor() public method

public GetYamlConstructor ( string key ) : YamlConstructor
key string
return YamlConstructor

GetYamlMultiConstructor() public method

public GetYamlMultiConstructor ( string key ) : YamlMultiConstructor
key string
return YamlMultiConstructor

GetYamlMultiRegexp() public method

public GetYamlMultiRegexp ( string key ) : Regex
key string
return System.Text.RegularExpressions.Regex

GetYamlMultiRegexps() public method

public GetYamlMultiRegexps ( ) : ICollection
return ICollection

RubyConstructor() public method

public RubyConstructor ( RubyGlobalScope scope, NodeProvider nodeProvider ) : System
scope IronRuby.Runtime.RubyGlobalScope
nodeProvider NodeProvider
return System