def scan_multilang(tokens, module_elem):
 tokenizer = ruby_lexer.RubyMultiLangLexer(tokens)
 parser = ruby_parser.Parser(tokenizer, 'RHTML')
 parse_tree = parser.parse()
 parser_cix.produce_elementTree_contents_cix(parse_tree, module_elem)
 csl_tokens = tokenizer.get_csl_tokens()
 return (csl_tokens, tokenizer.has_ruby_code())

def scan_multilang ( tokens , module_elem ) : tokenizer = ruby_lexer . RubyMultiLangLexer ( tokens ) parser = ruby_parser . Parser ( tokenizer , 'RHTML' ) parse_tree = parser . parse ( ) parser_cix . produce_elementTree_contents_cix ( parse_tree , module_elem ) csl_tokens = tokenizer . get_csl_tokens ( ) return ( csl_tokens , tokenizer . has_ruby_code ( ) )
build the ruby module cix element tree .