937#if YY_CPLUSPLUS < 201103L
952#if 201103L <= YY_CPLUSPLUS
996#if 201103L <= YY_CPLUSPLUS
1004#if !defined _MSC_VER || defined __clang__
1006 || (token::TOKEN_NETCONF_error <= tok && tok <= token::TOKEN_START_SUB_NETCONF));
1009#if 201103L <= YY_CPLUSPLUS
1017#if !defined _MSC_VER || defined __clang__
1021#if 201103L <= YY_CPLUSPLUS
1029#if !defined _MSC_VER || defined __clang__
1033#if 201103L <= YY_CPLUSPLUS
1041#if !defined _MSC_VER || defined __clang__
1045#if 201103L <= YY_CPLUSPLUS
1053#if !defined _MSC_VER || defined __clang__
1063#if 201103L <= YY_CPLUSPLUS
1076 virtual int parse ();
1082 void set_debug_stream (std::ostream &);
1085 typedef
int debug_level_type;
1089 void set_debug_level (debug_level_type l);
1095 virtual void error (
const location_type& loc,
const std::string& msg);
1098 void error (
const syntax_error& err);
1102 static std::string symbol_name (symbol_kind_type yysymbol);
1105#if 201103L <= YY_CPLUSPLUS
1108 make_END (location_type l)
1110 return symbol_type (token::TOKEN_END, std::move (l));
1120#if 201103L <= YY_CPLUSPLUS
1123 make_NETCONF_error (location_type l)
1125 return symbol_type (token::TOKEN_NETCONF_error, std::move (l));
1132 return symbol_type (token::TOKEN_NETCONF_error, l);
1135#if 201103L <= YY_CPLUSPLUS
1138 make_NETCONF_UNDEF (location_type l)
1140 return symbol_type (token::TOKEN_NETCONF_UNDEF, std::move (l));
1147 return symbol_type (token::TOKEN_NETCONF_UNDEF, l);
1150#if 201103L <= YY_CPLUSPLUS
1153 make_COMMA (location_type l)
1155 return symbol_type (token::TOKEN_COMMA, std::move (l));
1165#if 201103L <= YY_CPLUSPLUS
1168 make_COLON (location_type l)
1170 return symbol_type (token::TOKEN_COLON, std::move (l));
1180#if 201103L <= YY_CPLUSPLUS
1183 make_LSQUARE_BRACKET (location_type l)
1185 return symbol_type (token::TOKEN_LSQUARE_BRACKET, std::move (l));
1192 return symbol_type (token::TOKEN_LSQUARE_BRACKET, l);
1195#if 201103L <= YY_CPLUSPLUS
1198 make_RSQUARE_BRACKET (location_type l)
1200 return symbol_type (token::TOKEN_RSQUARE_BRACKET, std::move (l));
1207 return symbol_type (token::TOKEN_RSQUARE_BRACKET, l);
1210#if 201103L <= YY_CPLUSPLUS
1213 make_LCURLY_BRACKET (location_type l)
1215 return symbol_type (token::TOKEN_LCURLY_BRACKET, std::move (l));
1222 return symbol_type (token::TOKEN_LCURLY_BRACKET, l);
1225#if 201103L <= YY_CPLUSPLUS
1228 make_RCURLY_BRACKET (location_type l)
1230 return symbol_type (token::TOKEN_RCURLY_BRACKET, std::move (l));
1237 return symbol_type (token::TOKEN_RCURLY_BRACKET, l);
1240#if 201103L <= YY_CPLUSPLUS
1243 make_NULL_TYPE (location_type l)
1245 return symbol_type (token::TOKEN_NULL_TYPE, std::move (l));
1255#if 201103L <= YY_CPLUSPLUS
1258 make_NETCONF (location_type l)
1260 return symbol_type (token::TOKEN_NETCONF, std::move (l));
1270#if 201103L <= YY_CPLUSPLUS
1273 make_USER_CONTEXT (location_type l)
1275 return symbol_type (token::TOKEN_USER_CONTEXT, std::move (l));
1282 return symbol_type (token::TOKEN_USER_CONTEXT, l);
1285#if 201103L <= YY_CPLUSPLUS
1288 make_COMMENT (location_type l)
1290 return symbol_type (token::TOKEN_COMMENT, std::move (l));
1300#if 201103L <= YY_CPLUSPLUS
1303 make_BOOT_UPDATE (location_type l)
1305 return symbol_type (token::TOKEN_BOOT_UPDATE, std::move (l));
1315#if 201103L <= YY_CPLUSPLUS
1318 make_SUBSCRIBE_CHANGES (location_type l)
1320 return symbol_type (token::TOKEN_SUBSCRIBE_CHANGES, std::move (l));
1327 return symbol_type (token::TOKEN_SUBSCRIBE_CHANGES, l);
1330#if 201103L <= YY_CPLUSPLUS
1333 make_VALIDATE_CHANGES (location_type l)
1335 return symbol_type (token::TOKEN_VALIDATE_CHANGES, std::move (l));
1342 return symbol_type (token::TOKEN_VALIDATE_CHANGES, l);
1345#if 201103L <= YY_CPLUSPLUS
1348 make_MANAGED_SERVERS (location_type l)
1350 return symbol_type (token::TOKEN_MANAGED_SERVERS, std::move (l));
1357 return symbol_type (token::TOKEN_MANAGED_SERVERS, l);
1360#if 201103L <= YY_CPLUSPLUS
1363 make_DHCP4_SERVER (location_type l)
1365 return symbol_type (token::TOKEN_DHCP4_SERVER, std::move (l));
1372 return symbol_type (token::TOKEN_DHCP4_SERVER, l);
1375#if 201103L <= YY_CPLUSPLUS
1378 make_DHCP6_SERVER (location_type l)
1380 return symbol_type (token::TOKEN_DHCP6_SERVER, std::move (l));
1387 return symbol_type (token::TOKEN_DHCP6_SERVER, l);
1390#if 201103L <= YY_CPLUSPLUS
1393 make_D2_SERVER (location_type l)
1395 return symbol_type (token::TOKEN_D2_SERVER, std::move (l));
1405#if 201103L <= YY_CPLUSPLUS
1408 make_CA_SERVER (location_type l)
1410 return symbol_type (token::TOKEN_CA_SERVER, std::move (l));
1420#if 201103L <= YY_CPLUSPLUS
1423 make_MODEL (location_type l)
1425 return symbol_type (token::TOKEN_MODEL, std::move (l));
1435#if 201103L <= YY_CPLUSPLUS
1438 make_CONTROL_SOCKET (location_type l)
1440 return symbol_type (token::TOKEN_CONTROL_SOCKET, std::move (l));
1447 return symbol_type (token::TOKEN_CONTROL_SOCKET, l);
1450#if 201103L <= YY_CPLUSPLUS
1453 make_SOCKET_TYPE (location_type l)
1455 return symbol_type (token::TOKEN_SOCKET_TYPE, std::move (l));
1465#if 201103L <= YY_CPLUSPLUS
1468 make_UNIX (location_type l)
1470 return symbol_type (token::TOKEN_UNIX, std::move (l));
1480#if 201103L <= YY_CPLUSPLUS
1483 make_HTTP (location_type l)
1485 return symbol_type (token::TOKEN_HTTP, std::move (l));
1495#if 201103L <= YY_CPLUSPLUS
1498 make_STDOUT (location_type l)
1500 return symbol_type (token::TOKEN_STDOUT, std::move (l));
1510#if 201103L <= YY_CPLUSPLUS
1513 make_SOCKET_NAME (location_type l)
1515 return symbol_type (token::TOKEN_SOCKET_NAME, std::move (l));
1525#if 201103L <= YY_CPLUSPLUS
1528 make_SOCKET_URL (location_type l)
1530 return symbol_type (token::TOKEN_SOCKET_URL, std::move (l));
1540#if 201103L <= YY_CPLUSPLUS
1543 make_HOOKS_LIBRARIES (location_type l)
1545 return symbol_type (token::TOKEN_HOOKS_LIBRARIES, std::move (l));
1552 return symbol_type (token::TOKEN_HOOKS_LIBRARIES, l);
1555#if 201103L <= YY_CPLUSPLUS
1558 make_LIBRARY (location_type l)
1560 return symbol_type (token::TOKEN_LIBRARY, std::move (l));
1570#if 201103L <= YY_CPLUSPLUS
1573 make_PARAMETERS (location_type l)
1575 return symbol_type (token::TOKEN_PARAMETERS, std::move (l));
1585#if 201103L <= YY_CPLUSPLUS
1588 make_LOGGERS (location_type l)
1590 return symbol_type (token::TOKEN_LOGGERS, std::move (l));
1600#if 201103L <= YY_CPLUSPLUS
1603 make_NAME (location_type l)
1605 return symbol_type (token::TOKEN_NAME, std::move (l));
1615#if 201103L <= YY_CPLUSPLUS
1618 make_OUTPUT_OPTIONS (location_type l)
1620 return symbol_type (token::TOKEN_OUTPUT_OPTIONS, std::move (l));
1627 return symbol_type (token::TOKEN_OUTPUT_OPTIONS, l);
1630#if 201103L <= YY_CPLUSPLUS
1633 make_OUTPUT (location_type l)
1635 return symbol_type (token::TOKEN_OUTPUT, std::move (l));
1645#if 201103L <= YY_CPLUSPLUS
1648 make_DEBUGLEVEL (location_type l)
1650 return symbol_type (token::TOKEN_DEBUGLEVEL, std::move (l));
1660#if 201103L <= YY_CPLUSPLUS
1663 make_SEVERITY (location_type l)
1665 return symbol_type (token::TOKEN_SEVERITY, std::move (l));
1675#if 201103L <= YY_CPLUSPLUS
1678 make_FLUSH (location_type l)
1680 return symbol_type (token::TOKEN_FLUSH, std::move (l));
1690#if 201103L <= YY_CPLUSPLUS
1693 make_MAXSIZE (location_type l)
1695 return symbol_type (token::TOKEN_MAXSIZE, std::move (l));
1705#if 201103L <= YY_CPLUSPLUS
1708 make_MAXVER (location_type l)
1710 return symbol_type (token::TOKEN_MAXVER, std::move (l));
1720#if 201103L <= YY_CPLUSPLUS
1723 make_PATTERN (location_type l)
1725 return symbol_type (token::TOKEN_PATTERN, std::move (l));
1735#if 201103L <= YY_CPLUSPLUS
1738 make_START_JSON (location_type l)
1740 return symbol_type (token::TOKEN_START_JSON, std::move (l));
1750#if 201103L <= YY_CPLUSPLUS
1753 make_START_NETCONF (location_type l)
1755 return symbol_type (token::TOKEN_START_NETCONF, std::move (l));
1762 return symbol_type (token::TOKEN_START_NETCONF, l);
1765#if 201103L <= YY_CPLUSPLUS
1768 make_START_SUB_NETCONF (location_type l)
1770 return symbol_type (token::TOKEN_START_SUB_NETCONF, std::move (l));
1777 return symbol_type (token::TOKEN_START_SUB_NETCONF, l);
1780#if 201103L <= YY_CPLUSPLUS
1783 make_STRING (
string v, location_type l)
1785 return symbol_type (token::TOKEN_STRING, std::move (v), std::move (l));
1795#if 201103L <= YY_CPLUSPLUS
1798 make_INTEGER (int64_t v, location_type l)
1800 return symbol_type (token::TOKEN_INTEGER, std::move (v), std::move (l));
1810#if 201103L <= YY_CPLUSPLUS
1813 make_FLOAT (
double v, location_type l)
1815 return symbol_type (token::TOKEN_FLOAT, std::move (v), std::move (l));
1825#if 201103L <= YY_CPLUSPLUS
1828 make_BOOLEAN (
bool v, location_type l)
1830 return symbol_type (token::TOKEN_BOOLEAN, std::move (v), std::move (l));
1861#if YY_CPLUSPLUS < 201103L
1870 typedef short state_type;
1873 int yy_syntax_error_arguments_ (
const context& yyctx,
1874 symbol_kind_type yyarg[],
int yyargn)
const;
1878 virtual std::string yysyntax_error_ (
const context& yyctx)
const;
1882 static state_type yy_lr_goto_state_ (state_type yystate,
int yysym);
1886 static bool yy_pact_value_is_default_ (
int yyvalue)
YY_NOEXCEPT;
1890 static bool yy_table_value_is_error_ (
int yyvalue)
YY_NOEXCEPT;
1892 static const signed char yypact_ninf_;
1893 static const signed char yytable_ninf_;
1898 static symbol_kind_type yytranslate_ (
int t)
YY_NOEXCEPT;
1901 static std::string yytnamerr_ (
const char *yystr);
1904 static const char*
const yytname_[];
1910 static const short yypact_[];
1915 static const unsigned char yydefact_[];
1918 static const signed char yypgoto_[];
1921 static const short yydefgoto_[];
1926 static const short yytable_[];
1928 static const short yycheck_[];
1932 static const unsigned char yystos_[];
1935 static const unsigned char yyr1_[];
1938 static const signed char yyr2_[];
1943 static const short yyrline_[];
1945 virtual void yy_reduce_print_ (
int r)
const;
1947 virtual void yy_stack_print_ ()
const;
1952 std::ostream* yycdebug_;
1957 template <
typename Base>
1958 void yy_print_ (std::ostream& yyo,
const basic_symbol<Base>& yysym)
const;
1965 template <
typename Base>
1966 void yy_destroy_ (
const char* yymsg, basic_symbol<Base>& yysym)
const;
1976 typedef state_type kind_type;
1988 void move (by_state& that);
1996 enum { empty_state = 0 };
2004 struct stack_symbol_type : basic_symbol<by_state>
2007 typedef basic_symbol<by_state> super_type;
2009 stack_symbol_type ();
2011 stack_symbol_type (
YY_RVREF (stack_symbol_type) that);
2013 stack_symbol_type (state_type s,
YY_MOVE_REF (symbol_type) sym);
2014#if YY_CPLUSPLUS < 201103L
2017 stack_symbol_type& operator= (stack_symbol_type& that);
2021 stack_symbol_type& operator= (
const stack_symbol_type& that);
2026 template <
typename T,
typename S = std::vector<T> >
2031 typedef typename S::iterator iterator;
2032 typedef typename S::const_iterator const_iterator;
2033 typedef typename S::size_type size_type;
2034 typedef typename std::ptrdiff_t index_type;
2040#if 201103L <= YY_CPLUSPLUS
2042 stack (
const stack&) =
delete;
2044 stack& operator= (
const stack&) =
delete;
2051 operator[] (index_type i)
const
2053 return seq_[size_type (size () - 1 - i)];
2060 operator[] (index_type i)
2062 return seq_[size_type (size () - 1 - i)];
2071 seq_.push_back (T ());
2072 operator[] (0).move (t);
2094 return index_type (seq_.size ());
2101 return seq_.begin ();
2121 operator[] (index_type i)
const
2123 return stack_[range_ - i];
2127 const stack& stack_;
2132#if YY_CPLUSPLUS < 201103L
2134 stack (
const stack&);
2136 stack& operator= (
const stack&);
2144 typedef stack<stack_symbol_type> stack_type;
2147 stack_type yystack_;
2154 void yypush_ (
const char* m,
YY_MOVE_REF (stack_symbol_type) sym);
2162 void yypush_ (
const char* m, state_type s,
YY_MOVE_REF (symbol_type) sym);
2191 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2192 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2193 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2194 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2195 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2196 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2197 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2198 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2199 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2200 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2201 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2202 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2203 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2204 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2205 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2206 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2207 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2208 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2209 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2210 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2211 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2212 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2213 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2214 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2215 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2216 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
2217 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
2218 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
2219 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
2220 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
2224 const int code_max = 303;
2228 else if (t <= code_max)
2235 template <
typename Base>
2241 switch (this->kind ())
2274 template <
typename Base>
2278 return this->kind ();
2282 template <
typename Base>
2289 template <
typename Base>
2293 super_type::move (s);
2294 switch (this->kind ())