Esempio n. 1
0
/* Parse and Translate a Boolean Term 
 * <bool_term> ::= <not_factor> ( and_op <not_factor )*
 * */
void BoolTerm()
{
    NotFactor();
    while(Token == '&') {
        Push();
        Next();
        NotFactor();
        PopAnd();
    }
}
Esempio n. 2
0
void BoolTerm(void)
{
	NotFactor();
	while (Token[0]=='&') {
		Push();
		MatchString("&");
		NotFactor();
		PopAnd();
	}
}
Esempio n. 3
0
void BoolTerm() {
  NotFactor();
  NewLine();
  while(Look == '&') {
    Push();
    Match('&');
    NotFactor();
    PopAnd();
    NewLine();
  }
}