예제 #1
0
 internal static Symbol NewTemp( SymbolCollection aCollection, uint aAddress )
 {
     Symbol ret = new Symbol( aCollection );
     //
     ret.Size = 0;
     ret.OffsetAddress = aAddress - aCollection.BaseAddress;
     ret.iName = InternedName.NewExplicit( "TempInternal" );
     ret.Object = "TempInternal";
     //
     return ret;
 }
예제 #2
0
 internal static Symbol NewDefault( SymbolCollection aCollection )
 {
     Symbol ret = new Symbol( aCollection );
     //
     ret.IsDefault = true;
     ret.Size = 0;
     ret.OffsetAddress = SymbolConstants.KNullEntryAddress;
     ret.Object = SymbolConstants.KNonMatchingObjectName;
     ret.iName = InternedName.NewExplicit( SymbolConstants.KNonMatchingInternedName );
     //
     return ret;
 }
예제 #3
0
        public static InternedName New(string aText)
        {
            InternedName ret = new InternedName(aText);

            return(ret);
        }
예제 #4
0
        public static InternedName NewExplicit(string aText)
        {
            InternedName ret = new InternedName(aText, string.Empty);

            return(ret);
        }