mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
sundry accessors/cast-ers; RE_Matcher's track their construction values
This commit is contained in:
parent
17affdb858
commit
d53d2ac755
8 changed files with 50 additions and 3 deletions
|
@ -219,6 +219,9 @@ public:
|
|||
const FuncType* AsFuncType() const;
|
||||
FuncType* AsFuncType();
|
||||
|
||||
const FileType* AsFileType() const;
|
||||
FileType* AsFileType();
|
||||
|
||||
const EnumType* AsEnumType() const;
|
||||
EnumType* AsEnumType();
|
||||
|
||||
|
@ -595,7 +598,8 @@ public:
|
|||
// Given an offset, returns the field's name.
|
||||
const char* FieldName(int field) const;
|
||||
|
||||
type_decl_list* Types() { return types; }
|
||||
const type_decl_list* Types() const { return types; }
|
||||
type_decl_list* Types() { return types; }
|
||||
|
||||
// Given an offset, returns the field's TypeDecl.
|
||||
const TypeDecl* FieldDecl(int field) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue