MCPcopy Create free account
hub / github.com/SoarGroup/Soar / parse_lti

Function parse_lti

Core/SoarKernel/src/parser.cpp:2133–2150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2131}
2132
2133bool parse_lti(agent* thisAgent)
2134{
2135 switch (thisAgent->lexeme.type)
2136 {
2137 case AT_LEXEME:
2138 {
2139 bool saved = get_lexer_allow_ids(thisAgent);
2140 set_lexer_allow_ids(thisAgent, true);
2141 get_lexeme(thisAgent);
2142 set_lexer_allow_ids(thisAgent, saved);
2143 }
2144 return true;
2145
2146 default:
2147 break;
2148 }
2149 return false;
2150}
2151
2152/* -----------------------------------------------------------------
2153 Parse RHS

Callers 3

parse_relational_testFunction · 0.85
parse_rhs_valueFunction · 0.85
parse_rhs_actionFunction · 0.85

Calls 3

get_lexer_allow_idsFunction · 0.85
set_lexer_allow_idsFunction · 0.85
get_lexemeFunction · 0.85

Tested by

no test coverage detected