IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Tools.Importer.MapXml.ExceptionMapping Class Referencesealed
Inheritance diagram for IKVM.Tools.Importer.MapXml.ExceptionMapping:
IKVM.Tools.Importer.MapXml.MapXmlElement

Static Public Member Functions

static ExceptionMapping Read (XElement element)
 Reads the XML element into a new ExceptionMapping instance.
 
static void Load (ExceptionMapping exception, XElement element)
 Loads the XML element into the instruction.
 

Properties

string Source [get, set]
 
string Destination [get, set]
 
InstructionList Code [get, set]
 
- Properties inherited from IKVM.Tools.Importer.MapXml.MapXmlElement
int LineNumber [get, set]
 Gets the line number in the source file where this element occurs.
 
int LinePosition [get, set]
 Gets the line position in the source file where this element occurs.
 

Additional Inherited Members

- Static Protected Member Functions inherited from IKVM.Tools.Importer.MapXml.MapXmlElement
static void Load (MapXmlElement e, XElement element)
 Loads the XML element into the instance.
 

Detailed Description

Definition at line 31 of file ExceptionMapping.cs.

Member Function Documentation

◆ Load()

static void IKVM.Tools.Importer.MapXml.ExceptionMapping.Load ( ExceptionMapping exception,
XElement element )
static

Loads the XML element into the instruction.

Parameters
exception
element

Definition at line 51 of file ExceptionMapping.cs.

52 {
53 Load((MapXmlElement)exception, element);
54 exception.Source = (string)element.Attribute("src");
55 exception.Destination = (string)element.Attribute("dst");
56 exception.Code = element.Elements(MapXmlSerializer.NS + "code").Select(InstructionList.Read).FirstOrDefault();
57 }
static void Load(ExceptionMapping exception, XElement element)
Loads the XML element into the instruction.

◆ Read()

static ExceptionMapping IKVM.Tools.Importer.MapXml.ExceptionMapping.Read ( XElement element)
static

Reads the XML element into a new ExceptionMapping instance.

Parameters
element
Returns

Definition at line 39 of file ExceptionMapping.cs.

40 {
41 var mapping = new ExceptionMapping();
42 Load(mapping, element);
43 return mapping;
44 }

Property Documentation

◆ Code

InstructionList IKVM.Tools.Importer.MapXml.ExceptionMapping.Code
getset

Definition at line 63 of file ExceptionMapping.cs.

63{ get; set; }

◆ Destination

string IKVM.Tools.Importer.MapXml.ExceptionMapping.Destination
getset

Definition at line 61 of file ExceptionMapping.cs.

61{ get; set; }

◆ Source

string IKVM.Tools.Importer.MapXml.ExceptionMapping.Source
getset

Definition at line 59 of file ExceptionMapping.cs.

59{ get; set; }

The documentation for this class was generated from the following file: