mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08: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
|
@ -61,6 +61,8 @@ class PortVal;
|
|||
class AddrVal;
|
||||
class SubNetVal;
|
||||
class IntervalVal;
|
||||
class FuncVal;
|
||||
class FileVal;
|
||||
class PatternVal;
|
||||
class TableVal;
|
||||
class RecordVal;
|
||||
|
@ -143,6 +145,12 @@ UNDERLYING_ACCESSOR_DECL(PatternVal, const RE_Matcher*, AsPattern)
|
|||
UNDERLYING_ACCESSOR_DECL(TableVal, const PDict<TableEntryVal>*, AsTable)
|
||||
UNDERLYING_ACCESSOR_DECL(TypeVal, zeek::Type*, AsType)
|
||||
|
||||
FuncVal* AsFuncVal();
|
||||
const FuncVal* AsFuncVal() const;
|
||||
|
||||
FileVal* AsFileVal();
|
||||
const FileVal* AsFileVal() const;
|
||||
|
||||
PatternVal* AsPatternVal();
|
||||
const PatternVal* AsPatternVal() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue