aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.h
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-03-12 21:15:04 +0800
committerLiana Husikyan <liana@ethdev.com>2015-03-16 17:46:46 +0800
commit7d6357ae531f604387fc1f91799fca9a9102e856 (patch)
tree4cb419dd9d6e09ca827dc450287c3d5339b4c082 /Parser.h
parent67cd3a7180023f613efda64f4f4d2b1bc37990c6 (diff)
downloaddexon-solidity-7d6357ae531f604387fc1f91799fca9a9102e856.tar.gz
dexon-solidity-7d6357ae531f604387fc1f91799fca9a9102e856.tar.zst
dexon-solidity-7d6357ae531f604387fc1f91799fca9a9102e856.zip
- added isPartOfExternalInterface to Declaration
- changed position for the constant specifier. now it goes after type: <type> <constant> <name> = <value> - removed tests for constant functions, checkings for constant function doesn't belong to this story
Diffstat (limited to 'Parser.h')
-rw-r--r--Parser.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Parser.h b/Parser.h
index 469e446f..08c47c25 100644
--- a/Parser.h
+++ b/Parser.h
@@ -54,7 +54,6 @@ private:
bool allowIndexed = false;
bool allowEmptyName = false;
bool allowInitialValue = false;
- bool isDeclaredConst = false;
};
///@{
@@ -67,8 +66,7 @@ private:
ASTPointer<StructDefinition> parseStructDefinition();
ASTPointer<EnumDefinition> parseEnumDefinition();
ASTPointer<EnumValue> parseEnumValue();
- ASTPointer<VariableDeclaration> parseVariableDeclaration(
- VarDeclParserOptions const& _options = VarDeclParserOptions(),
+ ASTPointer<VariableDeclaration> parseVariableDeclaration(VarDeclParserOptions const& _options = VarDeclParserOptions(),
ASTPointer<TypeName> const& _lookAheadArrayType = ASTPointer<TypeName>());
ASTPointer<ModifierDefinition> parseModifierDefinition();
ASTPointer<EventDefinition> parseEventDefinition();