PageRenderTime 21ms CodeModel.GetById 17ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/unmaintained/alien/cxx/parser/parser.factor

http://github.com/abeaumont/factor
Unknown | 10 lines | 8 code | 2 blank | 0 comment | 0 complexity | c72b58d41bb3c96b2bb094c44ff07334 MD5 | raw file
 1! Copyright (C) 2009 Jeremy Hughes.
 2! See http://factorcode.org/license.txt for BSD license.
 3USING: parser lexer alien.inline ;
 4IN: alien.cxx.parser
 5
 6: parse-c++-class-definition ( -- class superclass-mixin )
 7    scan scan-word ;
 8
 9: parse-c++-method-definition ( -- class-name generic name types effect )
10    scan scan-word function-types-effect ;