IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Reflection.TypeNameParser Struct Reference

Public Member Functions

 TypeNameParser (ref Parser parser, bool withAssemblyName)
 

Public Attributes

readonly string name
 
readonly string[] nested
 
readonly string assemblyName
 
readonly short[] modifiers
 
readonly TypeNameParser[] genericParameters
 

Static Public Attributes

const string SpecialChars = "\\+,[]*&"
 
const short SZARRAY = -1
 
const short BYREF = -2
 
const short POINTER = -3
 

Detailed Description

Definition at line 31 of file TypeNameParser.cs.

Constructor & Destructor Documentation

◆ TypeNameParser()

IKVM.Reflection.TypeNameParser.TypeNameParser ( ref Parser parser,
bool withAssemblyName )

Definition at line 115 of file TypeNameParser.cs.

116 {
117 var genericParameter = parser.pos != 0;
118 name = parser.NextNamePart();
119
120 nested = null;
121 parser.ParseNested(ref nested);
122
123 genericParameters = null;
124 parser.ParseGenericParameters(ref genericParameters);
125
126 modifiers = null;
127 parser.ParseModifiers(ref modifiers);
128
129 assemblyName = null;
130 if (withAssemblyName)
131 parser.ParseAssemblyName(genericParameter, ref assemblyName);
132 }
readonly TypeNameParser[] genericParameters

Member Data Documentation

◆ assemblyName

readonly string IKVM.Reflection.TypeNameParser.assemblyName

Definition at line 41 of file TypeNameParser.cs.

◆ BYREF

const short IKVM.Reflection.TypeNameParser.BYREF = -2
static

Definition at line 36 of file TypeNameParser.cs.

◆ genericParameters

readonly TypeNameParser [] IKVM.Reflection.TypeNameParser.genericParameters

Definition at line 43 of file TypeNameParser.cs.

◆ modifiers

readonly short [] IKVM.Reflection.TypeNameParser.modifiers

Definition at line 42 of file TypeNameParser.cs.

◆ name

readonly string IKVM.Reflection.TypeNameParser.name

Definition at line 39 of file TypeNameParser.cs.

◆ nested

readonly string [] IKVM.Reflection.TypeNameParser.nested

Definition at line 40 of file TypeNameParser.cs.

◆ POINTER

const short IKVM.Reflection.TypeNameParser.POINTER = -3
static

Definition at line 37 of file TypeNameParser.cs.

◆ SpecialChars

const string IKVM.Reflection.TypeNameParser.SpecialChars = "\\+,[]*&"
static

Definition at line 34 of file TypeNameParser.cs.

◆ SZARRAY

const short IKVM.Reflection.TypeNameParser.SZARRAY = -1
static

Definition at line 35 of file TypeNameParser.cs.


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