proxygen
folly::DynamicConverter< Token > Struct Template Reference

Static Public Member Functions

static Token convert (const dynamic &d)
 

Detailed Description

template<>
struct folly::DynamicConverter< Token >

Definition at line 316 of file DynamicConverterTest.cpp.

Member Function Documentation

static Token folly::DynamicConverter< Token >::convert ( const dynamic d)
inlinestatic

Definition at line 317 of file DynamicConverterTest.cpp.

References k.

317  {
318  int k = convertTo<int>(d["KIND"]);
319  fbstring lex = convertTo<fbstring>(d["LEXEME"]);
320  return Token(k, lex);
321  }
KeyT k

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