/src/tools/wrappers-generator/typed_node.e
http://github.com/tybor/Liberty · Specman e · 37 lines · 18 code · 6 blank · 13 comment · 0 complexity · c94154a7aa4da8a0a57d652affb7f612 MD5 · raw file
- deferred class TYPED_NODE
- -- A Gccxml node with "type" attribute
- inherit
- GCCXML_NODE
- insert
- SHARED_COLLECTIONS
- feature {ANY}
- type: UNICODE_STRING
- do
- Result := attribute_at(once U"type")
- ensure
- Result /= Void
- end
- is_void: BOOLEAN deferred
- referree: C_TYPE
- -- The node referred by `type' in `types' dictionary.
- do
- Result := types.at(type)
- end
- end -- class TYPED_NODE
- -- Copyright (C) 2008-2017: 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/>.