Rev 15822 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{languageEl}\alias{languageEl}\alias{languageEl<-}\alias{isGrammarSymbol}\title{Elements of Language Objects}\usage{languageEl(object, which)isGrammarSymbol(symbol)}\description{\describe{\item{\code{languageEl}:}{extract an element of a language object, consistentlyfor different kinds of objects.The 1st., etc. elements of a function are the correspondingformal arguments, with the default expression if any as value.The first element of a call is the name or the function object beingcalled.The 2nd, 3rd, etc. elements are the 1st, 2nd, etc. arguments expressions.Note that the form of the extracted name is different for R and S-Plus.When the name (the first element) of a call is replaced, the languageEl replacementfunction coerces a character string to the internal form for each system.The 1st, 2nd, 3rd elements of an \code{if} expression are the test, first, and second branch.The 1st element of a \code{for} object is the name (symbol) being used in the loop,the second is the expression for the range of the loop, the third is the body of the loop.The first element of a \code{while} object is the loop test, and the second the body ofthe loop.}\item{isGrammarSymbol:}{Checks whether the symbol is part of thegrammar. Don't use this function directly.}}}\keyword{programming}