public Atomic_Symbol(Single_Quote _single_quote) { single_quote = _single_quote; Add(single_quote); UpdateProperties("atomic-symbol"); }
public Char_Litteral(Whitespace_Sequence _opt_whitespace_sequence_1, Single_Quote _single_quote_1, Atomic_Symbol _atomic_symbol, Single_Quote _single_quote_2, Whitespace_Sequence _opt_whitespace_sequence_2) { opt_whitespace_sequence_1 = _opt_whitespace_sequence_1; single_quote_1 = _single_quote_1; atomic_symbol = _atomic_symbol; single_quote_2 = _single_quote_2; opt_whitespace_sequence_2 = _opt_whitespace_sequence_2; Add(opt_whitespace_sequence_1); Add(single_quote_1); Add(atomic_symbol); Add(single_quote_2); Add(opt_whitespace_sequence_2); UpdateProperties("char-litteral"); }
private Single_Quote Parse_Single_Quote() { /* single-quote: * "'" */ if (_scanResult.IsEOL) { return(null); } // must be first line on any atom var _data = _scanResult.CurrentToken; var _result = new Single_Quote(_data); if (_result.IsValidated) { _scanResult.CurrentReadIndex++; return(_result); } else { return(null); } }