Пример #1
0
        public ConstDeclarationInfo DecodeConstDeclaration()
        {
            ConstDeclarationInfo info = new ConstDeclarationInfo();
            List <string>        res  = new List <string>();

            info.Name     = DecodeId();
            info.Length   = DecodeLength();
            info.Expr     = DecodeNode();
            info.Literal  = DecodeVariant();
            info.BoolVal1 = DecodeBool();
            info.BoolVal2 = DecodeBool();
            return(info);
        }
 public ConstDeclarationInfo DecodeConstDeclaration()
 {
     ConstDeclarationInfo info = new ConstDeclarationInfo();
     List<string> res = new List<string>();
     info.Name = DecodeId();
     info.Length = DecodeLength();
     info.Expr = DecodeNode();
     info.Literal = DecodeVariant();
     info.BoolVal1 = DecodeBool();
     info.BoolVal2 = DecodeBool();
     return info;
 }
 public override void Decode()
 {
     info = DecodeConstDeclaration();
 }
Пример #4
0
 public override void Decode()
 {
     info = DecodeConstDeclaration();
 }