예제 #1
0
파일: Serializer.cs 프로젝트: jusw85/100day
        public static PBXElementDict ParseTreeAST(TreeAST ast, TokenList tokens, string text)
        {
            var el = new PBXElementDict();

            foreach (var kv in ast.values)
            {
                PBXElementString key   = ParseIdentifierAST(kv.key, tokens, text);
                PBXElement       value = ParseValueAST(kv.value, tokens, text);
                el[key.value] = value;
            }
            return(el);
        }
예제 #2
0
		public void SetString( string key, string val )
		{
			values[key] = new PBXElementString( val );
		}
예제 #3
0
 public void SetString(string key, string val)
 {
     values[key] = new PBXElementString(val);
 }