mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
-O gen-C++ support for type expressions
This commit is contained in:
parent
ae62209e78
commit
9f5fba7003
6 changed files with 29 additions and 0 deletions
|
@ -467,6 +467,16 @@ private:
|
|||
FuncVal* fv;
|
||||
};
|
||||
|
||||
class TypeConstInfo : public CompoundItemInfo {
|
||||
public:
|
||||
TypeConstInfo(CPPCompile* _c, ValPtr v) : CompoundItemInfo(_c, v), tv(v->AsTypeVal()) {}
|
||||
|
||||
void InitializerVals(std::vector<std::string>& ivs) const override;
|
||||
|
||||
private:
|
||||
TypeVal* tv;
|
||||
};
|
||||
|
||||
// Initialization information for single attributes and sets of attributes.
|
||||
class AttrInfo : public CompoundItemInfo {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue