Beispiel #1
0
        private Token ParseProperty()
        {
            IdentToken qualid = ParseQualifiedIdent();

            ParseSpecialChar('=');
            Token value = ParsePropertyValue();

            return(new PropertyToken(qualid, value));
        }
Beispiel #2
0
        private IdentToken ParseQualifiedIdent()
        {
            IdentToken result = ParseIdentifier();

            while (PeekSpecialChar('.'))
            {
                ParseSpecialChar('.');
                result.Append(ParseIdentifier());
            }
            return(result);
        }
Beispiel #3
0
 public PropertyToken(IdentToken ident, Token value) : base("")
 {
     _ident = ident.Name;
     _value = value;
 }
Beispiel #4
0
 public void Append(IdentToken t)
 {
     _name += "." + t.Name;
 }