Check whether a parse table corresponds to a certain expression
Check whether a parse table corresponds to a certain expression
is_curly_expr(pd) is_cond_expr(pd) is_while_expr(pd) is_function_call(pd) is_function_dec(pd) is_comment(pd)
pd |
A parse table. |
is_curly_expr
: Checks whether pd
contains an expression wrapped in
curly brackets.
is_cond_expr
: Checks whether pd
contains is a conditional expression.
is_while_expr
: Checks whether pd
contains is a while loop.
is_function_call
: Checks whether pd
is a function call.
is_function_dec
: Checks whether pd
is a function declaration.
is_comment
: Checks for every token whether or not it is a comment.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.