/src/tools/wrappers-generator/c_function_argument.e
http://github.com/tybor/Liberty · Specman e · 49 lines · 24 code · 8 blank · 17 comment · 0 complexity · de152055d75f9577984e225a54d3ed4e MD5 · raw file
- deferred class C_FUNCTION_ARGUMENT
- -- An XML node of a file made by gccxml representing a piece of the
- -- argument lt of a C function, either an actual argument or an ellips
- -- ("...")
- inherit
- GCCXML_NODE
- insert
- SHARED_COLLECTIONS
- EXCEPTIONS
- feature {ANY}
- is_ellipsis: BOOLEAN
- -- Does Current argument make its function a variadic one?
- deferred
- end
- has_wrapper: BOOLEAN
- deferred
- end
- put_on (a_buffer: FORMATTER)
- -- Put an Eiffel representation on Current argument on `a_buffer'.
- require
- a_buffer /= Void
- deferred
- end
- pos: INTEGER
- -- the position of Current argument in its function. Used to provide stable names to arguments of function defined with nameless prototypes
-
- set_pos (a_pos: INTEGER)
- do
- pos := a_pos
- end
- end -- class C_FUNCTION_ARGUMENT
- -- Copyright (C) 2008-2017: ,2009,2010 Paolo Redaelli
- -- wrappers-generator is free software: you can redistribute it and/or modify it
- -- under the terms of the GNU General Public License as publhed by the Free
- -- Software Foundation, either version 2 of the License, or (at your option)
- -- any later version.
- -- wrappers-generator is distributed in the hope that it will be useful, but
- -- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- -- more details.
- -- You should have received a copy of the GNU General Public License along with
- -- th program. If not, see <http://www.gnu.org/licenses/>.